Switch back to Ly and Betterlockscreen

This commit is contained in:
Sravan Balaji
2023-05-21 12:50:31 -04:00
parent c9b06bdf2e
commit b84076b3be
3 changed files with 26 additions and 22 deletions

View File

@@ -1,4 +1,5 @@
#!/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
/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

View File

@@ -1,14 +1,14 @@
#!/bin/bash
declare -a startup_array=(\
# Background Processes
"/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
"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
)
declare -a kill_startup_array=(\
@@ -17,6 +17,7 @@ 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,9 +2467,10 @@ 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
/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
#+END_SRC
** Compositor
@@ -8298,14 +8299,14 @@ Xcursor.size: CURSOR_SIZE
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/startup.sh
declare -a startup_array=(\
# Background Processes
"/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
"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
)
declare -a kill_startup_array=(\
@@ -8314,6 +8315,7 @@ 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