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:
@@ -10393,7 +10393,7 @@ main $@
|
|||||||
|
|
||||||
** Session Control
|
** 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() {
|
help_menu() {
|
||||||
echo "Script to interact with desktop session. Use only one argument at a time."
|
echo "Script to interact with desktop session. Use only one argument at a time."
|
||||||
# echo " - Play / Pause: playerctl.sh --play-pause"
|
# echo " - Play / Pause: playerctl.sh --play-pause"
|
||||||
@@ -10435,8 +10435,8 @@ main() {
|
|||||||
help_menu
|
help_menu
|
||||||
;;
|
;;
|
||||||
--logout)
|
--logout)
|
||||||
notify-send "Session Control" "Logging Out of dwl" &
|
notify-send "Session Control" "Logging Out of Hyprland" &
|
||||||
pkill dwl
|
loginctl terminate-user ""
|
||||||
;;
|
;;
|
||||||
--lock)
|
--lock)
|
||||||
notify-send "Session Control" "Locking Session" &
|
notify-send "Session Control" "Locking Session" &
|
||||||
@@ -10466,7 +10466,7 @@ main $@
|
|||||||
|
|
||||||
** Control Center
|
** 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() {
|
help_menu() {
|
||||||
echo "Main script to launch sub-menu scripts. Use only one argument at a time."
|
echo "Main script to launch sub-menu scripts. Use only one argument at a time."
|
||||||
# echo " - Play / Pause: playerctl.sh --play-pause"
|
# echo " - Play / Pause: playerctl.sh --play-pause"
|
||||||
|
Submodule hyprland/.config/hypr updated: 270618456b...2c5b298ace
@@ -40,8 +40,8 @@ main() {
|
|||||||
help_menu
|
help_menu
|
||||||
;;
|
;;
|
||||||
--logout)
|
--logout)
|
||||||
notify-send "Session Control" "Logging Out of dwl" &
|
notify-send "Session Control" "Logging Out of Hyprland" &
|
||||||
pkill dwl
|
loginctl terminate-user ""
|
||||||
;;
|
;;
|
||||||
--lock)
|
--lock)
|
||||||
notify-send "Session Control" "Locking Session" &
|
notify-send "Session Control" "Locking Session" &
|
Reference in New Issue
Block a user