Update base skel scripts and some configs

This commit is contained in:
natemaia
2019-12-17 22:45:26 -08:00
parent 074d0a8164
commit 38b00d4dd3
2 changed files with 6 additions and 10 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
NAME="${0##*/}"
VER="0.7"
VER="0.71"
usage()
{
@ -66,11 +66,7 @@ else
rofi -hide-scrollbar -kb-row-select 'Tab' -kb-row-tab 'Control+space' -dmenu -mesg 'Tab for Autocomplete' -i -p 'Web Search')"
;;
-l|--logout)
if grep -q 'startx' $HOME/.*profile; then
ANS="$(rofi -sep "|" -dmenu -i -p 'System' -width 20 -hide-scrollbar -line-padding 4 -padding 20 -lines 3 <<< " Lock| Reboot| Shutdown")"
else
ANS="$(rofi -sep "|" -dmenu -i -p 'System' -width 20 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")"
fi
ANS="$(rofi -sep "|" -dmenu -i -p 'System' -width 20 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")"
case "$ANS" in
*Lock) i3lock-fancy ;;
*Reboot) systemctl reboot ;;