i3 menus, musicpd control

This commit is contained in:
2017-05-06 19:35:49 +02:00
parent 4aaede6757
commit 98e56a3f4c
4 changed files with 73 additions and 2 deletions

View File

@@ -55,8 +55,10 @@ bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
#bindsym $mod+d exec dmenu_run
bindsym $mod+d exec rofi -show run -lines 5 -eh 2 -width 100 -padding 300 -opacity "80" -bw 0 -bc "$base01" -bg "$base02" -fg "$base07" -hlbg "$base05" -columns 2 "Terminus 8" -hlfg "#9575cd"
bindsym $mod+u exec rofi -show ssh -lines 5 -eh 2 -width 100 -padding 300 -opacity "80" -bw 0 -bc "$base01" -bg "$base02" -fg "$base07" -hlbg "$base05" -columns 2 "Terminus 8" -hlfg "#9575cd" -ssh-command "{terminal} -e '{ssh-client} {host}'"
bindsym $mod+i exec ~/.i3/menu.sh
bindsym $mod+o exec ~/.i3/menu_open.sh
bindsym $mod+n exec rofi -show run -lines 5 -eh 2 -width 100 -padding 300 -opacity "80" -bw 0 -bc "$base01" -bg "$base02" -fg "$base07" -hlbg "$base05" -columns 2 "Terminus 8" -hlfg "#9575cd"
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
@@ -99,6 +101,12 @@ bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
bindcode $mod+22 exec mpc toggle
bindcode $mod+99 exec mpc vol +10
bindcode $mod+105 exec mpc vol -10
bindcode $mod+34 exec mpc prev
bindcode $mod+35 exec mpc next
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle