[i3] Sorry rofi, mod+space is now play/pause

I use play/pause way more often
This commit is contained in:
M1dgard 2018-08-20 22:36:02 +02:00
parent 27437c9342
commit ecf63e9190
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -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