Skip to content

Instantly share code, notes, and snippets.

@deseven
deseven / capsSwitch.sh
Created Jul 22, 2016
Simple script to change keyboard layout with indication
View capsSwitch.sh
# capsSwitch
# depends on keyboardSwitcher and maclight
# to get the list of possible layouts, check `keyboardSwitcher list` output
# to check what layouts you use, check `keyboardSwitcher get` while switching layouts
layout1="U.S."
layout2="Russian - PC"
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
@deseven
deseven / is.zsh-theme
Created Sep 28, 2015
zsh theme used in interService
View is.zsh-theme
PROMPT='%{$fg[yellow]%}%M:%{$fg[green]%}%/%{$reset_color%}%(!.#.$) '