welcome message and toggelability added

This commit is contained in:
Luke Smith 2019-06-01 16:11:07 -04:00
parent 2cc4ba862d
commit 3a08ffc16f
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 4 additions and 0 deletions

View file

@ -130,6 +130,9 @@ XF86MyComputer
$TERMINAL -e $FILE / $TERMINAL -e $FILE /
# Function keys # 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 \"Welcome to LARBS on Void with dwm\" \"Press super+F1 for the help menu.\" # LARBSWELCOME" >> ~/.xprofile && notify-send "LARBS welcome message" "Welcome message re-enabled." )
#notify-send "LARBS" "The LARBS welcome message has been disabled."; sed -i "/LARBSWELCOME/d" ~/.xprofile
# Show readme # Show readme
super + F1 super + F1
groff -mom $HOME/.local/share/larbs/readme.mom -Tpdf | zathura - groff -mom $HOME/.local/share/larbs/readme.mom -Tpdf | zathura -

View file

@ -22,3 +22,4 @@ while pgrep -x mpd; do
mpc idle >/dev/null 2>&1 mpc idle >/dev/null 2>&1
refbar refbar
done & done &
notify-send "Welcome to LARBS on Void with dwm" "Press super+F1 for the help menu." # LARBSWELCOME