[i3] New mail client, mpc as a variable

This commit is contained in:
Midgard 2019-06-13 19:15:18 +02:00
parent 87a7224a9d
commit f2b13e096e
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -111,7 +111,7 @@ bindsym XF86MyComputer exec $filemanager
bindsym XF86Explorer exec $filemanager
# open mail client
set $mailclient claws-mail
set $mailclient thunderbird
bindsym XF86Mail exec $mailclient
# change display layout
@ -150,17 +150,18 @@ mode $openmode {
bindsym $mod+o mode $openmode
set $mpc /usr/bin/mpc
set $mpdmode "local mpd: [ ] play/pause, [k/j] prev/next, [h/l] rwnd/ffwd, [u/d] vol, [enter] open client"
mode $mpdmode {
bindsym space exec --no-startup-id mpc toggle
bindsym j exec --no-startup-id mpc next
bindsym k exec --no-startup-id mpc cdprev
bindsym h exec --no-startup-id mpc seek -5
bindsym l exec --no-startup-id mpc seek +5
bindsym Backspace exec --no-startup-id mpc seek 0%
bindsym space exec --no-startup-id $mpc toggle
bindsym j exec --no-startup-id $mpc next
bindsym k exec --no-startup-id $mpc cdprev
bindsym h exec --no-startup-id $mpc seek -5
bindsym l exec --no-startup-id $mpc seek +5
bindsym Backspace exec --no-startup-id $mpc seek 0%
bindsym u exec --no-startup-id pamixer -i $volumeStep
bindsym d exec --no-startup-id pamixer -d $volumeStep
bindsym s exec --no-startup-id mpc stop, mode "default"
bindsym s exec --no-startup-id $mpc stop, mode "default"
bindsym Return exec mpdclient, mode "default"
bindsym KP_Enter exec mpdclient, mode "default"
bindsym o exec mpdclient, mode "default"
@ -172,7 +173,7 @@ mode $mpdmode {
bindsym $mod+m mode $mpdmode
bindsym $mod+space exec --no-startup-id mpc toggle
bindsym $mod+space exec --no-startup-id $mpc toggle
#############################