desktop/nwg-shell: Updated for version 0.5.37.

Patch has been updated to remove unused configs.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jay Lanagan 2024-08-09 08:21:57 -04:00 committed by Willy Sudiarto Raharjo
parent 1e0b67af6f
commit 228f5ab368
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 21 additions and 59 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nwg-shell
VERSION=${VERSION:-0.5.36}
VERSION=${VERSION:-0.5.37}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -50,22 +50,22 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
elif [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
#if [ "$ARCH" = "i586" ]; then
# SLKCFLAGS="-O2 -march=i586 -mtune=i686"
# LIBDIRSUFFIX=""
#elif [ "$ARCH" = "i686" ]; then
# SLKCFLAGS="-O2 -march=i686 -mtune=i686"
# LIBDIRSUFFIX=""
#elif [ "$ARCH" = "x86_64" ]; then
# SLKCFLAGS="-O2 -fPIC"
# LIBDIRSUFFIX="64"
#elif [ "$ARCH" = "aarch64" ]; then
# SLKCFLAGS="-O2 -fPIC"
# LIBDIRSUFFIX="64"
#else
# SLKCFLAGS="-O2"
# LIBDIRSUFFIX=""
#fi
set -e

View file

@ -1,8 +1,8 @@
PRGNAM="nwg-shell"
VERSION="0.5.36"
VERSION="0.5.37"
HOMEPAGE="https://nwg-piotr.github.io/nwg-shell/"
DOWNLOAD="https://github.com/nwg-piotr/nwg-shell/releases/download/v0.5.36/nwg-shell-v0.5.36.tar.gz"
MD5SUM="09290f74163207d04a0494e22489f130"
DOWNLOAD="https://github.com/nwg-piotr/nwg-shell/releases/download/v0.5.37/nwg-shell-v0.5.37.tar.gz"
MD5SUM="dc4c9beb9138855038975958786ff20d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="foot grim jq brightnessctl papirus-icon-theme slurp gtklock-playerctl-module gtklock-powerbar-module gtklock-userinfo-module swappy sway swayidle swaylock wl-clipboard azote gopsuinfo nwg-bar nwg-clipman nwg-dock nwg-menu nwg-look nwg-panel nwg-readme-browser nwg-shell-config nwg-shell-wallpapers nwg-wrapper nwg-displays python3-autotiling xdg-desktop-portal-wlr"

View file

@ -62,48 +62,10 @@ diff -ur a/nwg_shell/skel/config/hypr/hyprland.conf b/nwg_shell/skel/config/hypr
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
+exec-once = dbus-update-activation-environment --all
#
# Include settings generated by nwg-shell-config
diff -ur a/nwg_shell/skel/config/nwg-bar/bar.json b/nwg_shell/skel/config/nwg-bar/bar.json
--- a/nwg_shell/skel/config/nwg-bar/bar.json 2024-04-18 20:06:36.000000000 -0400
+++ b/nwg_shell/skel/config/nwg-bar/bar.json 2024-04-23 08:13:11.595459991 -0400
@@ -11,12 +11,12 @@
},
{
"label": "Reboot",
- "exec": "systemctl reboot",
+ "exec": "loginctl reboot",
"icon": "/usr/share/nwg-bar/images/system-reboot.svg"
},
{
"label": "Shutdown",
- "exec": "systemctl -i poweroff",
+ "exec": "loginctl -i poweroff",
"icon": "/usr/share/nwg-bar/images/system-shutdown.svg"
}
]
\ No newline at end of file
diff -ur a/nwg_shell/skel/config/nwg-bar/hyprland.json b/nwg_shell/skel/config/nwg-bar/hyprland.json
--- a/nwg_shell/skel/config/nwg-bar/hyprland.json 2024-04-18 20:06:36.000000000 -0400
+++ b/nwg_shell/skel/config/nwg-bar/hyprland.json 2024-04-23 08:13:32.787113097 -0400
@@ -11,12 +11,12 @@
},
{
"label": "_Reboot",
- "exec": "systemctl reboot",
+ "exec": "loginctl reboot",
"icon": "/usr/share/nwg-bar/images/system-reboot.svg"
},
{
"label": "_Shutdown",
- "exec": "systemctl -i poweroff",
+ "exec": "loginctl -i poweroff",
"icon": "/usr/share/nwg-bar/images/system-shutdown.svg"
}
]
\ No newline at end of file
diff -ur a/nwg_shell/skel/config/nwg-panel/hyprland-0 b/nwg_shell/skel/config/nwg-panel/hyprland-0
--- a/nwg_shell/skel/config/nwg-panel/hyprland-0 2024-04-18 20:06:36.000000000 -0400
+++ b/nwg_shell/skel/config/nwg-panel/hyprland-0 2024-04-23 08:14:52.432809425 -0400