From 193b906693c95a538504c8abdd035ac42d7eb84e Mon Sep 17 00:00:00 2001 From: Jay Lanagan Date: Sun, 2 Jul 2023 21:19:23 +0700 Subject: [PATCH] desktop/nwg-shell-config: Updated for version 0.5.8. Signed-off-by: Willy Sudiarto Raharjo --- desktop/nwg-shell-config/loginctl.patch | 152 +++++++++--------- .../nwg-shell-config.SlackBuild | 2 +- .../nwg-shell-config/nwg-shell-config.info | 6 +- 3 files changed, 80 insertions(+), 80 deletions(-) diff --git a/desktop/nwg-shell-config/loginctl.patch b/desktop/nwg-shell-config/loginctl.patch index 96d31097ec..18f46408f8 100644 --- a/desktop/nwg-shell-config/loginctl.patch +++ b/desktop/nwg-shell-config/loginctl.patch @@ -1,17 +1,3 @@ ---- a/nwg_shell_config/shell/custom-hyprland -+++ b/nwg_shell_config/shell/custom-hyprland -@@ -46,8 +46,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-playerctl-art-size": 64, - "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 @@ @@ -21,74 +7,24 @@ - "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/locker.py -+++ b/nwg_shell_config/locker.py -@@ -53,9 +53,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/main_hyprland.py -+++ b/nwg_shell_config/main_hyprland.py -@@ -1026,9 +1026,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/main_sway.py -+++ b/nwg_shell_config/main_sway.py -@@ -916,9 +916,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", +--- 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-suspend-command": "systemctl suspend", -+ "gtklock-poweroff-command": "loginctl poweroff", +- "gtklock-poweroff-command": "systemctl -i poweroff", + "gtklock-reboot-command": "loginctl reboot", -+ "gtklock-suspend-command": "loginctl suspend", - "gtklock-time-format": "%H:%M:%S", - "gtklock-userinfo": false, - "gtklock-userswitch-command": "", ++ "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 @@ -106,3 +42,67 @@ "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 +@@ -61,9 +61,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/main_hyprland.py ++++ b/nwg_shell_config/main_hyprland.py +@@ -1022,9 +1022,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/main_sway.py ++++ b/nwg_shell_config/main_sway.py +@@ -903,9 +903,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": "", + diff --git a/desktop/nwg-shell-config/nwg-shell-config.SlackBuild b/desktop/nwg-shell-config/nwg-shell-config.SlackBuild index 843ca10de7..5a9a0a41ff 100644 --- a/desktop/nwg-shell-config/nwg-shell-config.SlackBuild +++ b/desktop/nwg-shell-config/nwg-shell-config.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nwg-shell-config -VERSION=${VERSION:-0.5.7} +VERSION=${VERSION:-0.5.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/desktop/nwg-shell-config/nwg-shell-config.info b/desktop/nwg-shell-config/nwg-shell-config.info index 0489eb6620..c038dea329 100644 --- a/desktop/nwg-shell-config/nwg-shell-config.info +++ b/desktop/nwg-shell-config/nwg-shell-config.info @@ -1,9 +1,9 @@ PRGNAM="nwg-shell-config" -VERSION="0.5.7" +VERSION="0.5.8" HOMEPAGE="https://github.com/nwg-piotr/nwg-shell-config/" -DOWNLOAD="https://github.com/nwg-piotr/nwg-shell-config/archive/v0.5.7/nwg-shell-config-0.5.7.tar.gz \ +DOWNLOAD="https://github.com/nwg-piotr/nwg-shell-config/archive/v0.5.8/nwg-shell-config-0.5.8.tar.gz \ https://slackware.lngn.net/pub/source/nwg-shell-config/Slackware_logo.svg" -MD5SUM="f1600e39c4de8ba41f84f1f9ea8a57db \ +MD5SUM="c55c6e79347a8b46b0c99e74d4c187e4 \ 275ee1d6ab047f12df0da19a4e99963d" DOWNLOAD_x86_64="" MD5SUM_x86_64=""