diff --git a/README.org b/README.org index e24e583..f377a04 100644 --- a/README.org +++ b/README.org @@ -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" diff --git a/hyprland/.config/hypr b/hyprland/.config/hypr index 2706184..2c5b298 160000 --- a/hyprland/.config/hypr +++ b/hyprland/.config/hypr @@ -1 +1 @@ -Subproject commit 270618456b6490a334e7dcb74571bb084504c40d +Subproject commit 2c5b298ace1c1a02f3ed9ba8610ad69f4aca54ee diff --git a/dwl/.scripts/control-center.sh b/hyprland/.scripts/control-center.sh similarity index 100% rename from dwl/.scripts/control-center.sh rename to hyprland/.scripts/control-center.sh diff --git a/dwl/.scripts/session.sh b/hyprland/.scripts/session.sh similarity index 94% rename from dwl/.scripts/session.sh rename to hyprland/.scripts/session.sh index 3263fc4..4e3d7ba 100755 --- a/dwl/.scripts/session.sh +++ b/hyprland/.scripts/session.sh @@ -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" &