summaryrefslogtreecommitdiffstats
path: root/.config/sxhkd/sxhkdrc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-08 17:21:40 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-08 17:21:40 -0400
commit422d106fbab5505f3810fa845f4f71547c7a4332 (patch)
treef6a04c7eabbad04e7c11b3da8e683e69b9df5da2 /.config/sxhkd/sxhkdrc
parent2c06dd36c61dea7383d2a12900eb83ee1751115a (diff)
downloadeibhear-422d106fbab5505f3810fa845f4f71547c7a4332.tar.gz
eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.tar.zst
eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.zip
assume default values if xdg dirs not set
Diffstat (limited to '.config/sxhkd/sxhkdrc')
-rw-r--r--.config/sxhkd/sxhkdrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index c07d780..a43e582 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -137,10 +137,10 @@ XF86MyComputer
# Function keys
super + shift + F1
- grep LARBSWELCOME ~/.xprofile && ( sed -i "/LARBSWELCOME/d" ~/.xprofile && notify-send "LARBS welcome message" "Welcome message disabled. Press Super+Shift+F1 again to reverse." ) || ( echo "notify-send -i "$XDG_DATA_HOME/larbs/larbs.png" \"Welcome to LARBS\" \"Press super+F1 for the help menu.\" # LARBSWELCOME" >> ~/.xprofile && notify-send "LARBS welcome message" "Welcome message re-enabled." )
+ grep LARBSWELCOME ~/.xprofile && ( sed -i "/LARBSWELCOME/d" ~/.xprofile && notify-send "LARBS welcome message" "Welcome message disabled. Press Super+Shift+F1 again to reverse." ) || ( echo "notify-send -i "${XDG_DATA_HOME:$HOME/.local/share}/larbs/larbs.png" \"Welcome to LARBS\" \"Press super+F1 for the help menu.\" # LARBSWELCOME" >> ~/.xprofile && notify-send "LARBS welcome message" "Welcome message re-enabled." )
# Show readme
super + F1
- groff -mom $XDG_DATA_HOME/larbs/readme.mom -Tpdf | zathura -
+ groff -mom ${XDG_DATA_HOME:$HOME/.local/share}/larbs/readme.mom -Tpdf | zathura -
# F2 restarts either dwm or i3 and is bound in each.
# Change display
super + F3