desktop/nwg-shell: Updated for version 0.5.7.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jay Lanagan 2023-08-04 19:56:00 +09:00 committed by Willy Sudiarto Raharjo
parent f9c842e4a6
commit 7bd1784f38
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 37 additions and 5 deletions

View File

@ -121,3 +121,35 @@
### Turn off screen on lid closed
--- a/nwg_shell/skel/data/nwg-shell-config/settings
+++ b/nwg_shell/skel/data/nwg-shell-config/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/skel/config/hypr/hyprland.conf
+++ b/nwg_shell/skel/config/hypr/hyprland.conf
@@ -15,10 +15,9 @@
# Autostart. Feel free to add your own entries.
# Shell components will be started in the includes.conf file, which we include below.
#
-exec = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
+exec = /usr/libexec/polkit-gnome-authentication-agent-1
exec-once = ~/.azotebg-hyprland # Wallpaper
-exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
-exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
+exec-once = dbus-update-activation-environment --all WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
#
# Include settings generated by nwg-shell-config

View File

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nwg-shell
VERSION=${VERSION:-0.5.6}
VERSION=${VERSION:-0.5.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -78,7 +78,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
# patches removing refs to systemctl & replaced w/ loginctl & disable updater
patch -Np1 -i $CWD/slackware.patch || exit 1
patch -Np1 -i $CWD/defaults.patch || exit 1
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View File

@ -1,8 +1,8 @@
PRGNAM="nwg-shell"
VERSION="0.5.6"
VERSION="0.5.7"
HOMEPAGE="https://nwg-piotr.github.io/nwg-shell/"
DOWNLOAD="https://github.com/nwg-piotr/nwg-shell/releases/download/v0.5.6/nwg-shell-v0.5.6.tar.gz"
MD5SUM="ef3d83d26cbf6af09f269e3c50d451c2"
DOWNLOAD="https://github.com/nwg-piotr/nwg-shell/releases/download/v0.5.7/nwg-shell-v0.5.7.tar.gz"
MD5SUM="f78410842271d98c631e2ae95afa5a2a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="foot grim jq brightnessctl light papirus-icon-theme playerctl geopy slurp gtklock gtklock-playerctl-module gtklock-powerbar-module gtklock-userinfo-module swappy sway swayidle swaylock swaybg wl-clipboard wlsunset azote gopsuinfo nwg-bar nwg-dock nwg-drawer nwg-menu nwg-look nwg-panel nwg-shell-config nwg-shell-wallpapers nwg-wrapper nwg-displays python3-autotiling python3-dasbus SwayNotificationCenter xdg-desktop-portal-wlr"