From ecf63e9190cb1800f8042a7e59ab091daa8a45b7 Mon Sep 17 00:00:00 2001 From: M1dgard Date: Mon, 20 Aug 2018 22:36:02 +0200 Subject: [PATCH] [i3] Sorry rofi, mod+space is now play/pause I use play/pause way more often --- i3/config | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/i3/config b/i3/config index d451233..101c773 100644 --- a/i3/config +++ b/i3/config @@ -88,11 +88,6 @@ bindsym $mod+c mode $macromode # Applications # {{{1 ################ -# program launcher -set $launcher rofi -show combi -display-combi $USER@$(cat /etc/hostname) -bindsym $mod+space exec --no-startup-id "$launcher" -#bindsym $mod+Shift+space exec --no-startup-id rofi -show window - # lock the screen bindsym Mod1+l exec --no-startup-id i3lock --image="$HOME/img/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_lock.png" || notify-send -u normal -i lock -a i3 "Failed to lock screen" "i3lock had a non-zero exit code." @@ -122,7 +117,12 @@ bindsym $mod+XF86Display exec arandr bindsym XF86Display exec --no-startup-id $HOME/.config/i3/monitors.sh -set $openmode "open: [f]irefox, [e]mail, [i]rc, [I]DE, [m]pd client, [M]pd server, [t]or, [g]ucharmap, [j]osm, [a]randr" +# program launcher +set $launcher rofi -show combi -display-combi $USER@$(cat /etc/hostname) +#bindsym $mod+space exec --no-startup-id "$launcher" +bindsym $mod+Shift+space exec --no-startup-id rofi -show window + +set $openmode "open: [f]irefox, [e]mail, [i]rc, [I]DE, [m]pd client, [M]pd server, [t]or, [g]ucharmap, [j]osm, [a]randr, [ ] launcher" mode $openmode { bindsym f exec firefox, mode default bindsym e exec $mailclient, mode default @@ -135,6 +135,8 @@ mode $openmode { bindsym j exec josm, mode default bindsym a exec arandr, mode default + bindsym space exec "$launcher", mode default + # back to normal: Enter, Escape or mod+r bindsym Return mode "default" bindsym KP_Enter mode "default" @@ -167,6 +169,8 @@ mode $mpdmode { bindsym $mod+m mode $mpdmode +bindsym $mod+space exec --no-startup-id mpc toggle + ############################# # Keyboard function buttons # {{{1