Replace Ly and Betterlockscreen with LightDM and Light-Locker

This commit is contained in:
Sravan Balaji
2023-05-20 14:24:17 -04:00
parent 49a1e3aba9
commit c9b06bdf2e
5 changed files with 24 additions and 28 deletions

View File

@@ -1,5 +1,4 @@
#!/bin/bash
/home/sravan/.scripts/session.sh --restart & # Restart dwm
/usr/bin/nvidia-force-comp-pipeline & # NVIDIA Force Composition Pipeline
/usr/bin/nitrogen --restore & # Restore wallpaper
/usr/bin/betterlockscreen -u /home/sravan/Pictures/Wallpapers/Solar_System.png & # Update lock screen wallpaper
/home/sravan/.scripts/session.sh --restart & # Restart dwm
/usr/bin/nvidia-force-comp-pipeline & # NVIDIA Force Composition Pipeline
/usr/bin/nitrogen --restore & # Restore wallpaper

View File

@@ -1,14 +1,14 @@
#!/bin/bash
declare -a startup_array=(\
# Background Processes
"bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center
"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/xss-lock -l -- betterlockscreen --lock" \ # Session Lock Utility
"/usr/lib/kdeconnectd --replace" \ # KDE Connect Daemon
"/usr/bin/redshift -x" \ # Redshift Blue Light Filter
"/usr/bin/unclutter" \ # Hide Mouse Cursor
"/usr/bin/light-locker --lock-on-suspend --lock-on-lid --idle-hint" \ # Light Locker
"bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center
"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/lib/kdeconnectd --replace" \ # KDE Connect Daemon
"/usr/bin/redshift -x" \ # Redshift Blue Light Filter
"/usr/bin/unclutter" \ # Hide Mouse Cursor
)
declare -a kill_startup_array=(\
@@ -17,7 +17,6 @@ declare -a kill_startup_array=(\
"pkill picom" \ # Picom Compositor
"pkill greenclip" \ # Greenclip Clipboard Manager
"pkill polkit" \ # GNOME Polkit Authentication Agent
"pkill xss-lock" \ # Session Lock Utility
"pkill kdeconnectd" \ # KDE Connect Daemon
"pkill redshift" \ # Redshift Blue Light Filter
"pkill unclutter" \ # Hide Mouse Cursor

View File

@@ -2467,10 +2467,9 @@ See [[https://github.com/phillipberndt/autorandr#hook-scripts][autorandr hook sc
*** Post Switch
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .config/autorandr/postswitch
/home/sravan/.scripts/session.sh --restart & # Restart dwm
/usr/bin/nvidia-force-comp-pipeline & # NVIDIA Force Composition Pipeline
/usr/bin/nitrogen --restore & # Restore wallpaper
/usr/bin/betterlockscreen -u /home/sravan/Pictures/Wallpapers/Solar_System.png & # Update lock screen wallpaper
/home/sravan/.scripts/session.sh --restart & # Restart dwm
/usr/bin/nvidia-force-comp-pipeline & # NVIDIA Force Composition Pipeline
/usr/bin/nitrogen --restore & # Restore wallpaper
#+END_SRC
** Compositor
@@ -8299,14 +8298,14 @@ Xcursor.size: CURSOR_SIZE
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/startup.sh
declare -a startup_array=(\
# Background Processes
"bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center
"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/xss-lock -l -- betterlockscreen --lock" \ # Session Lock Utility
"/usr/lib/kdeconnectd --replace" \ # KDE Connect Daemon
"/usr/bin/redshift -x" \ # Redshift Blue Light Filter
"/usr/bin/unclutter" \ # Hide Mouse Cursor
"/usr/bin/light-locker --lock-on-suspend --lock-on-lid --idle-hint" \ # Light Locker
"bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center
"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/lib/kdeconnectd --replace" \ # KDE Connect Daemon
"/usr/bin/redshift -x" \ # Redshift Blue Light Filter
"/usr/bin/unclutter" \ # Hide Mouse Cursor
)
declare -a kill_startup_array=(\
@@ -8315,7 +8314,6 @@ declare -a kill_startup_array=(\
"pkill picom" \ # Picom Compositor
"pkill greenclip" \ # Greenclip Clipboard Manager
"pkill polkit" \ # GNOME Polkit Authentication Agent
"pkill xss-lock" \ # Session Lock Utility
"pkill kdeconnectd" \ # KDE Connect Daemon
"pkill redshift" \ # Redshift Blue Light Filter
"pkill unclutter" \ # Hide Mouse Cursor