From: ds6 Date: Tue, 6 Feb 2018 01:23:51 +0000 (-0600) Subject: add mpc keybinds, .zshenv.local loading X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/ac515d99dd32d7d4d1a68103cdeabc10b8e6eab7?hp=364338b5eb91b9f6b509670e0928761b281f28df add mpc keybinds, .zshenv.local loading --- diff --git a/base/.zshenv b/base/.zshenv index e237b0e..96c6d52 100644 --- a/base/.zshenv +++ b/base/.zshenv @@ -1,9 +1,13 @@ +if [ -f ~/.zshenv.local ]; then + source ~/.zshenv.local +fi + export EDITOR=vim -export XDG_CONFIG_HOME="$HOME/etc" -export XDG_CONFIG_DIRS="$HOME/.config:/etc/xdg" -export XDG_DATA_HOME="$HOME/share" -export XDG_DATA_DIRS="$HOME/.local/share:/usr/local/share/:/usr/share/" -export XDG_CACHE_HOME="$HOME/tmp" +export XDG_CONFIG_HOME=~/etc +export XDG_CONFIG_DIRS=~/.config:/etc/xdg +export XDG_DATA_HOME=~/share +export XDG_DATA_DIRS=~/.local/share:/usr/local/share/:/usr/share/ +export XDG_CACHE_HOME=~/tmp export CLICOLOR= export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30' diff --git a/xdg/i3/config b/xdg/i3/config index 8e78bfc..a37e72e 100644 --- a/xdg/i3/config +++ b/xdg/i3/config @@ -132,6 +132,12 @@ bindsym $mod+Shift+e exec --no-startup-id i3-nagbar -t warning -m Exit? -b Yes ' bindcode 198 exec --no-startup-id rotate set normal bindcode 204 exec --no-startup-id rotate right +# mpc +bindsym XF86AudioPlay exec --no-startup-id mpc -h /var/mpd/socket play +bindsym XF86AudioStop exec --no-startup-id mpc -h /var/mpd/socket pause +bindsym XF86AudioPrev exec --no-startup-id mpc -h /var/mpd/socket cdprev +bindsym XF86AudioNext exec --no-startup-id mpc -h /var/mpd/socket next + # move and resize [floating] windows mode "translate" { bindsym $left resize shrink width 20 px