diff options
author | Jay Lanagan <j@lngn.net> | 2023-08-04 19:56:00 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-08-05 10:08:52 +0700 |
commit | 7bd1784f386c9b2ab8bc69ece091d92770178bc9 (patch) | |
tree | f421a87dc8a341bc78214a81f4c1e7c74054a04e /desktop | |
parent | f9c842e4a6d1fef0fcda214e4b7f2445980c2f7f (diff) |
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>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/nwg-shell/defaults.patch (renamed from desktop/nwg-shell/slackware.patch) | 32 | ||||
-rw-r--r-- | desktop/nwg-shell/nwg-shell.SlackBuild | 4 | ||||
-rw-r--r-- | desktop/nwg-shell/nwg-shell.info | 6 |
3 files changed, 37 insertions, 5 deletions
diff --git a/desktop/nwg-shell/slackware.patch b/desktop/nwg-shell/defaults.patch index 9b05d1f639a0c..0347e38b3833a 100644 --- a/desktop/nwg-shell/slackware.patch +++ b/desktop/nwg-shell/defaults.patch @@ -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 + diff --git a/desktop/nwg-shell/nwg-shell.SlackBuild b/desktop/nwg-shell/nwg-shell.SlackBuild index 53e028950ef9f..f1bdb3606c0d7 100644 --- a/desktop/nwg-shell/nwg-shell.SlackBuild +++ b/desktop/nwg-shell/nwg-shell.SlackBuild @@ -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 \ diff --git a/desktop/nwg-shell/nwg-shell.info b/desktop/nwg-shell/nwg-shell.info index a4937f7d23d4d..d83fee9054032 100644 --- a/desktop/nwg-shell/nwg-shell.info +++ b/desktop/nwg-shell/nwg-shell.info @@ -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" |