diff options
author | Jay Lanagan <j@lngn.net> | 2023-07-02 21:19:23 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-02 21:27:54 +0700 |
commit | 193b906693c95a538504c8abdd035ac42d7eb84e (patch) | |
tree | 4df7445935a03c3a1ca6ea7ad27b5f8d4f9e6b96 /desktop/nwg-shell-config/loginctl.patch | |
parent | 6ec98bb5c7c58e4651895628997ed373d95023af (diff) |
desktop/nwg-shell-config: Updated for version 0.5.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/nwg-shell-config/loginctl.patch')
-rw-r--r-- | desktop/nwg-shell-config/loginctl.patch | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/desktop/nwg-shell-config/loginctl.patch b/desktop/nwg-shell-config/loginctl.patch index 96d31097ec2ba..18f46408f86e8 100644 --- a/desktop/nwg-shell-config/loginctl.patch +++ b/desktop/nwg-shell-config/loginctl.patch @@ -1,6 +1,6 @@ ---- a/nwg_shell_config/shell/custom-hyprland -+++ b/nwg_shell_config/shell/custom-hyprland -@@ -46,8 +46,8 @@ +--- a/nwg_shell_config/shell/custom ++++ b/nwg_shell_config/shell/custom +@@ -43,8 +43,8 @@ "gtklock-userinfo-under-clock": false, "gtklock-powerbar-show-labels": true, "gtklock-powerbar-linked-buttons": false, @@ -12,23 +12,55 @@ "gtklock-playerctl-position": "top-right", "gtklock-playerctl-show-hidden": true ---- a/nwg_shell_config/shell/custom -+++ b/nwg_shell_config/shell/custom -@@ -43,8 +43,8 @@ +--- a/nwg_shell_config/shell/custom-hyprland ++++ b/nwg_shell_config/shell/custom-hyprland +@@ -47,8 +47,8 @@ "gtklock-userinfo-under-clock": false, "gtklock-powerbar-show-labels": true, "gtklock-powerbar-linked-buttons": false, - "gtklock-reboot-command": "systemctl reboot", - "gtklock-poweroff-command": "systemctl -i poweroff", + "gtklock-reboot-command": "loginctl reboot", -+ "gtklock-poweroff-command": "loginctl poweroff", ++ "gtklock-poweroff-command": "loginctl poweroff", "gtklock-playerctl-art-size": 64, "gtklock-playerctl-position": "top-right", "gtklock-playerctl-show-hidden": true +--- a/nwg_shell_config/shell/settings ++++ b/nwg_shell_config/shell/settings +@@ -83,9 +83,9 @@ + "gtklock-logout-command": "swaymsg exit", + "gtklock-playerctl": false, + "gtklock-powerbar": false, +- "gtklock-poweroff-command": "systemctl -i poweroff", +- "gtklock-reboot-command": "systemctl reboot", +- "gtklock-suspend-command": "systemctl suspend", ++ "gtklock-poweroff-command": "loginctl poweroff", ++ "gtklock-reboot-command": "loginctl reboot", ++ "gtklock-suspend-command": "loginctl suspend", + "gtklock-time-format": "%H:%M:%S", + "gtklock-userinfo": false, + "gtklock-userswitch-command": "" + +--- a/nwg_shell_config/shell/settings-hyprland ++++ b/nwg_shell_config/shell/settings-hyprland +@@ -110,9 +110,9 @@ + "gtklock-logout-command": "swaymsg exit", + "gtklock-playerctl": false, + "gtklock-powerbar": false, +- "gtklock-poweroff-command": "systemctl -i poweroff", +- "gtklock-reboot-command": "systemctl reboot", +- "gtklock-suspend-command": "systemctl suspend", ++ "gtklock-poweroff-command": "loginctl poweroff", ++ "gtklock-reboot-command": "loginmctl reboot", ++ "gtklock-suspend-command": "loginctl suspend", + "gtklock-time-format": "%H:%M:%S", + "gtklock-userinfo": false, + "gtklock-userswitch-command": "", + --- a/nwg_shell_config/locker.py +++ b/nwg_shell_config/locker.py -@@ -53,9 +53,9 @@ +@@ -61,9 +61,9 @@ "gtklock-logout-command": "swaymsg exit", "gtklock-playerctl": False, "gtklock-powerbar": False, @@ -44,7 +76,7 @@ --- a/nwg_shell_config/main_hyprland.py +++ b/nwg_shell_config/main_hyprland.py -@@ -1026,9 +1026,9 @@ +@@ -1022,9 +1022,9 @@ "gtklock-logout-command": "swaymsg exit", "gtklock-playerctl": False, "gtklock-powerbar": False, @@ -60,7 +92,7 @@ --- a/nwg_shell_config/main_sway.py +++ b/nwg_shell_config/main_sway.py -@@ -916,9 +916,9 @@ +@@ -903,9 +903,9 @@ "gtklock-logout-command": "swaymsg exit", "gtklock-playerctl": False, "gtklock-powerbar": False, @@ -74,35 +106,3 @@ "gtklock-userinfo": False, "gtklock-userswitch-command": "", ---- a/nwg_shell_config/shell/settings-hyprland -+++ b/nwg_shell_config/shell/settings-hyprland -@@ -110,9 +110,9 @@ - "gtklock-logout-command": "swaymsg exit", - "gtklock-playerctl": false, - "gtklock-powerbar": false, -- "gtklock-poweroff-command": "systemctl -i poweroff", -- "gtklock-reboot-command": "systemctl reboot", -- "gtklock-suspend-command": "systemctl suspend", -+ "gtklock-poweroff-command": "loginctl poweroff", -+ "gtklock-reboot-command": "loginctl reboot", -+ "gtklock-suspend-command": "loginctl suspend", - "gtklock-time-format": "%H:%M:%S", - "gtklock-userinfo": false, - "gtklock-userswitch-command": "", - ---- a/nwg_shell_config/shell/settings -+++ b/nwg_shell_config/shell/settings -@@ -83,9 +83,9 @@ - "gtklock-logout-command": "swaymsg exit", - "gtklock-playerctl": false, - "gtklock-powerbar": false, -- "gtklock-poweroff-command": "systemctl -i poweroff", -- "gtklock-reboot-command": "systemctl reboot", -- "gtklock-suspend-command": "systemctl suspend", -+ "gtklock-poweroff-command": "loginctl poweroff", -+ "gtklock-reboot-command": "loginctl reboot", -+ "gtklock-suspend-command": "loginctl suspend", - "gtklock-time-format": "%H:%M:%S", - "gtklock-userinfo": false, - "gtklock-userswitch-command": "" - |