Update base skel scripts and some configs
This commit is contained in:
@ -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 ;;
|
||||
|
Reference in New Issue
Block a user