Update Session / Control Center Scripts for Hyprland

- Update hyprland submodule
- Move session control script from dwl to hyprland
- Move control center script from dwl to hyprland
This commit is contained in:
Sravan Balaji
2025-04-27 11:10:37 -04:00
parent 9d708ffffc
commit 39f61a613e
4 changed files with 7 additions and 7 deletions

View File

@@ -10393,7 +10393,7 @@ main $@
** Session Control
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle dwl/.scripts/session.sh
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle hyprland/.scripts/session.sh
help_menu() {
echo "Script to interact with desktop session. Use only one argument at a time."
# echo " - Play / Pause: playerctl.sh --play-pause"
@@ -10435,8 +10435,8 @@ main() {
help_menu
;;
--logout)
notify-send "Session Control" "Logging Out of dwl" &
pkill dwl
notify-send "Session Control" "Logging Out of Hyprland" &
loginctl terminate-user ""
;;
--lock)
notify-send "Session Control" "Locking Session" &
@@ -10466,7 +10466,7 @@ main $@
** Control Center
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle dwl/.scripts/control-center.sh
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle hyprland/.scripts/control-center.sh
help_menu() {
echo "Main script to launch sub-menu scripts. Use only one argument at a time."
# echo " - Play / Pause: playerctl.sh --play-pause"

View File

@@ -40,8 +40,8 @@ main() {
help_menu
;;
--logout)
notify-send "Session Control" "Logging Out of dwl" &
pkill dwl
notify-send "Session Control" "Logging Out of Hyprland" &
loginctl terminate-user ""
;;
--lock)
notify-send "Session Control" "Locking Session" &