config: bring rofi to dmenu & alt-tab, win+x for urgent

This commit is contained in:
Aminda Suomalainen 2019-02-06 19:58:16 +02:00
parent 042c41a688
commit 89997f8c26
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -2,7 +2,7 @@
# Debian: i3 suckless-tools rxvt-unicode-256color j4-dmenu-desktop # Debian: i3 suckless-tools rxvt-unicode-256color j4-dmenu-desktop
# gnome-screenshot i3lock sudo hibernate playerctl pulseaudio-utils # gnome-screenshot i3lock sudo hibernate playerctl pulseaudio-utils
# galculator network-manager-gnome redshift-gtk x11-xserver-utils # galculator network-manager-gnome redshift-gtk x11-xserver-utils
# volumeicon-alsa feh # volumeicon-alsa feh rofi
# Search also for CHANGEME near the bottom # Search also for CHANGEME near the bottom
@ -38,7 +38,7 @@ bindsym $mod+Shift+q kill
# wrapper around dmenu supporting .desktop (flatpak) # wrapper around dmenu supporting .desktop (flatpak)
#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop #bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# supposedly more than 25 times faster # supposedly more than 25 times faster
bindsym $mod+d exec --no-startup-id j4-dmenu-desktop bindsym $mod+d exec --no-startup-id j4-dmenu-desktop --display-binary --dmenu="rofi -dmenu -i"
# change focus # change focus
bindsym $mod+j focus left bindsym $mod+j focus left
@ -172,6 +172,9 @@ bindsym Shift+Print exec gnome-screenshot -i
bindsym Print exec gnome-screenshot -i bindsym Print exec gnome-screenshot -i
bindsym Control+$mod+l exec i3lock -n -c 7F00FF bindsym Control+$mod+l exec i3lock -n -c 7F00FF
bindsym $mod+Escape exec "i3lock; sudo /usr/sbin/hibernate" bindsym $mod+Escape exec "i3lock; sudo /usr/sbin/hibernate"
bindsym $mod+x [urgent=latest] focus
# alt-tab
bindsym Mod1+Tab exec --no-startup-id rofi -show window
# Media keys # Media keys
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause