desktop/nwg-shell-config: Updated for version 0.5.8.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jay Lanagan 2023-07-02 21:19:23 +07:00 committed by Willy Sudiarto Raharjo
parent 6ec98bb5c7
commit 193b906693
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 80 additions and 80 deletions

View file

@ -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": "",

View file

@ -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}

View file

@ -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=""