Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Valencia dafevara

  • Colombia
View GitHub Profile
@dafevara
dafevara / dark.sh
Created Jun 29, 2021
turn the lights off
View dark.sh
#!/bin/bash
osascript -l JavaScript -e "Application('System Events').appearancePreferences.darkMode = true"
it2setcolor preset onedark_dfvr
if pgrep -x 'nvim' > /dev/null
then
if [ -e /tmp/nvimsocket ]
then
nvr --remote-send ':set background=dark<Enter>'
@dafevara
dafevara / light.sh
Created Jun 29, 2021
turn the lights on!
View light.sh
#!/bin/bash
osascript -l JavaScript -e "Application('System Events').appearancePreferences.darkMode = false"
it2setcolor preset base16-one-light-256 #for it2setcolor see iterm2 shell integration
if pgrep -x 'nvim' > /dev/null
then
if [ -e /tmp/nvimsocket ]
then
nvr --remote-send ":let g:airline_theme='light'<Enter>"
nvr --remote-send ':set background=light<Enter>'
View keybase.md

Keybase proof

I hereby claim:

  • I am dafevara on github.
  • I am dafevara (https://keybase.io/dafevara) on keybase.
  • I have a public key ASBCgnNaXngfc71wmGtg8_m50UQC2LcFyouJuYkbQRF2HAo

To claim this, I am signing this object:

View gist:6f4e23c878c9b8d7ed85
I, [2015-04-20T11:37:05.174959 #16265] INFO -- : Writing /var/lib/jenkins/workspace/HumTL_Master/public/assets/action-arrow-left-disabled-ed3037e4ae09f50d0b60138d1be585a5.png
I, [2015-04-20T11:37:05.177443 #16265] INFO -- : Writing /var/lib/jenkins/workspace/HumTL_Master/public/assets/action-arrow-left-efcd6fb4dbed4953d333bb1a34bd20ae.png
I, [2015-04-20T11:37:05.179795 #16265] INFO -- : Writing /var/lib/jenkins/workspace/HumTL_Master/public/assets/action-arrow-right-disabled-5d7a78787d04d7e75b93f015aa9d5b7e.png
I, [2015-04-20T11:37:05.181793 #16265] INFO -- : Writing /var/lib/jenkins/workspace/HumTL_Master/public/assets/action-arrow-right-d1488df0ea2d1327a0d8f766e3185626.png
I, [2015-04-20T11:37:05.183692 #16265] INFO -- : Writing /var/lib/jenkins/workspace/HumTL_Master/public/assets/action-card-wrapper-d2b34da5b9103d08c7c0c068007aac8d.png
I, [2015-04-20T11:37:05.185922 #16265] INFO -- : Writing /var/lib/jenkins/workspace/HumTL_Master/public/assets/action-deck-wrapper-48dea37393064d3a3678082309623d35.pn