commit fbf2d22f90bffe074c1363be43c63f72eb62ccb3 parent d9690762009afbaf2d14ac9a67c06b6735259d9e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sat, 15 Dec 2018 12:36:08 +0100 Add bindings for interactive dmenu dialogs Diffstat:
M | links/.config/i3/config | | | 11 | ++++++++--- |
M | links/bin/dmenuunicode | | | 2 | +- |
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/links/.config/i3/config b/links/.config/i3/config @@ -42,9 +42,14 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 3%+ unmute & bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 3%- unmute && pkill -RTMIN+4 i3blocks bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle && pkill -RTMIN+4 i3blocks bindsym XF86AudioMicMute exec --no-startup-id amixer set 'Mic Mute' toggle && pkill -RTMIN+4 i3blocks -bindsym $mod+Shift+i exec --no-startup-id amixer set Master 3%+ unmute && pkill -RTMIN+4 i3blocks -bindsym $mod+Shift+o exec --no-startup-id amixer set Master 3%- unmute && pkill -RTMIN+4 i3blocks -bindsym $mod+Shift+m exec --no-startup-id amixer set Master toggle && pkill -RTMIN+4 i3blocks +# bindsym $mod+Shift+i exec --no-startup-id amixer set Master 3%+ unmute && pkill -RTMIN+4 i3blocks +# bindsym $mod+Shift+o exec --no-startup-id amixer set Master 3%- unmute && pkill -RTMIN+4 i3blocks +# bindsym $mod+Shift+m exec --no-startup-id amixer set Master toggle && pkill -RTMIN+4 i3blocks + +# interactive dialogs +bindsym $mod+u exec --no-startup-id /home/ad/bin/dmenuunicode +bindsym $mod+m exec --no-startup-id /home/ad/bin/dmenumount +bindsym $mod+Shift+m exec --no-startup-id /home/ad/bin/dmenuumount # keyboard backlight bindsym XF86KbdBrightnessDown exec --no-startup-id /home/ad/bin/kbd_backlight.sh down diff --git a/links/bin/dmenuunicode b/links/bin/dmenuunicode @@ -5,7 +5,7 @@ # Must have xclip installed to even show menu. xclip -h >/dev/null || exit -chosen=$(grep -v "#" ~/.emoji | dmenu -i -l 20 -fn Monospace-18) +chosen=$(grep -v "#" ~/.emoji | dmenu -i -l 20 -fn PragmataPro-16) [ "$chosen" != "" ] || exit