sxhkd: Use rofi launch script

This gives the task of setting environment variables to rofi's
launch.sh, instead of trying to do it in sxhkdrc.

Another benefit is that rofi can be launched properly from anywhere,
regardless of whether or not sxhkd is being used.
This commit is contained in:
Donovan Glover 2018-12-01 18:49:12 -05:00
parent 9f27d4e13a
commit 5099a8838b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -28,8 +28,11 @@ alt + m
wal -o ~/.config/wal/done.sh -i ~/Pictures/Wallpapers
# Show rofi drun / window / calc
alt + {z,space,backslash}
env XDG_CURRENT_DESKTOP="KDE" rofi -show {drun,window,calc -modi calc -no-show-match -no-sort}
alt + z
~/.config/rofi/launch.sh
alt + {space,backslash}
rofi -show {window,calc -modi calc -no-show-match -no-sort}
# Show rofi-pass
alt + slash