Pokemon Color Scripts & Multilockscreen
- Change bash, zsh, and fish greeting to pokemon color scripts - Add multilockscreen configuration file - Close rofi after selecting any session option - Replace light-locker with multilockscreen, xss-lock, and loginctl
This commit is contained in:
@@ -25,7 +25,7 @@ rofi_menu() {
|
||||
option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
|
||||
|
||||
if [[ "$option" != "quit" ]]; then
|
||||
main "--$option" && main "--rofi"
|
||||
main "--$option"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ main() {
|
||||
;;
|
||||
--lock)
|
||||
notify-send "Session Control" "Locking Session"
|
||||
light-locker-command --lock
|
||||
loginctl lock-session
|
||||
;;
|
||||
--sleep)
|
||||
notify-send "Session Control" "Going to Sleep"
|
||||
|
@@ -5,7 +5,7 @@ declare -a startup_array=(\
|
||||
"bash /home/sravan/.scripts/picom.sh --on" \ # Picom Compositor
|
||||
"/usr/bin/greenclip daemon" \ # Greenclip Clipboard Manager
|
||||
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent
|
||||
"/usr/bin/light-locker --lock-on-suspend --lock-on-lid" \ # Screen lock for lightdm
|
||||
"/usr/bin/xss-lock -l -- multilockscreen --lock" \ # Session Lock Utility
|
||||
"/usr/lib/kdeconnectd --replace" \ # KDE Connect Daemon
|
||||
"/usr/bin/redshift -x" \ # Redshift Blue Light Filter
|
||||
)
|
||||
@@ -16,7 +16,7 @@ declare -a kill_startup_array=(\
|
||||
"killall picom" \ # Picom Compositor
|
||||
"killall greenclip" \ # Greenclip Clipboard Manager
|
||||
"killall polkit" \ # GNOME Polkit Authentication Agent
|
||||
"killall light-locker" \ # Screen lock for lightdm
|
||||
"killall xss-lock" \ # Session Lock Utility
|
||||
"killall kdeconnectd" \ # KDE Connect Daemon
|
||||
"killall redshift" \ # Redshift Blue Light Filter
|
||||
)
|
||||
|
Reference in New Issue
Block a user