From 3a08ffc16ff99fd95ad00f5d8056f9fc949982fc Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 1 Jun 2019 16:11:07 -0400 Subject: [PATCH] welcome message and toggelability added --- .config/sxhkd/sxhkdrc | 3 +++ .xprofile | 1 + 2 files changed, 4 insertions(+) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 8cdd6ca..e2aefe7 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -130,6 +130,9 @@ XF86MyComputer $TERMINAL -e $FILE / # 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 super + F1 groff -mom $HOME/.local/share/larbs/readme.mom -Tpdf | zathura - diff --git a/.xprofile b/.xprofile index dce35d0..fb5a319 100644 --- a/.xprofile +++ b/.xprofile @@ -22,3 +22,4 @@ while pgrep -x mpd; do mpc idle >/dev/null 2>&1 refbar done & +notify-send "Welcome to LARBS on Void with dwm" "Press super+F1 for the help menu." # LARBSWELCOME