diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-04-22 23:03:37 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-22 23:03:37 -0500 |
commit | 4e2019d72ff01b177e70e4efe88e2df2ae5a5e2e (patch) | |
tree | c3de2d2adb5a3c995dee95a15635f3fbdc899272 /desktop/icewm/patches | |
parent | ebf53c5b225f3d11a2c97847d148a73a9b203a5f (diff) | |
download | slackbuilds-4e2019d72ff01b177e70e4efe88e2df2ae5a5e2e.tar.gz |
desktop/icewm: Updated for version 2.3.2.
Diffstat (limited to 'desktop/icewm/patches')
-rw-r--r-- | desktop/icewm/patches/tweak-default-configs.diff | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/desktop/icewm/patches/tweak-default-configs.diff b/desktop/icewm/patches/tweak-default-configs.diff index 4c51139db0..f772c2a540 100644 --- a/desktop/icewm/patches/tweak-default-configs.diff +++ b/desktop/icewm/patches/tweak-default-configs.diff @@ -1,6 +1,6 @@ -diff -Nur icewm-1.6.6.orig/lib/keys.in icewm-1.6.6/lib/keys.in ---- icewm-1.6.6.orig/lib/keys.in 2020-05-29 11:47:00.000000000 -0500 -+++ icewm-1.6.6/lib/keys.in 2020-05-30 00:37:31.279645822 -0500 +diff -Nur icewm-2.3.2.orig/lib/keys.in icewm-2.3.2/lib/keys.in +--- icewm-2.3.2.orig/lib/keys.in 2021-04-14 18:25:05.000000000 -0500 ++++ icewm-2.3.2/lib/keys.in 2021-04-22 22:48:28.552699156 -0500 @@ -12,8 +12,8 @@ key "Alt+Ctrl+b" xdg-open about:blank key "Alt+Ctrl+s" xdg-open https://www.google.com @@ -21,27 +21,27 @@ diff -Nur icewm-1.6.6.orig/lib/keys.in icewm-1.6.6/lib/keys.in -key "XF86AudioLowerVolume" amixer sset Master 5%- -key "XF86AudioRaiseVolume" amixer sset Master 5%+ -key "XF86AudioMute" amixer sset Master toggle -+# key "XF86Standby" /bin/sh -c "{ sudo /usr/sbin/pm-suspend; } ||:" -+# key "XF86Sleep" /bin/sh -c "{ sudo /usr/sbin/pm-suspend; } ||:" ++# key "XF86Standby" loginctl suspend ++# key "XF86Sleep" loginctl suspend +key "XF86AudioLowerVolume" pamixer -d 5 +key "XF86AudioRaiseVolume" pamixer -i 5 +key "XF86AudioMute" pamixer -t key "XF86HomePage" xdg-open about:blank key "XF86Search" xdg-open https://www.google.com key "XF86Eject" eject -diff -Nur icewm-1.6.6.orig/src/default.h icewm-1.6.6/src/default.h ---- icewm-1.6.6.orig/src/default.h 2020-05-29 11:47:00.000000000 -0500 -+++ icewm-1.6.6/src/default.h 2020-05-30 00:38:53.408234561 -0500 -@@ -184,9 +184,9 @@ +diff -Nur icewm-2.3.2.orig/src/default.h icewm-2.3.2/src/default.h +--- icewm-2.3.2.orig/src/default.h 2021-04-14 18:25:05.000000000 -0500 ++++ icewm-2.3.2/src/default.h 2021-04-22 22:50:18.359898408 -0500 +@@ -187,9 +187,9 @@ XSV(const char *, logoutCommand, 0) XSV(const char *, logoutCancelCommand, 0) - #if defined(__linux__) + #if __linux__ -XSV(const char *, shutdownCommand, "test -e /run/systemd/system && systemctl poweroff") -XSV(const char *, rebootCommand, "test -e /run/systemd/system && systemctl reboot") -XSV(const char *, suspendCommand, "test -e /run/systemd/system && systemctl suspend") -+XSV(const char *, shutdownCommand, "sudo /sbin/halt") -+XSV(const char *, rebootCommand, "sudo /sbin/reboot") -+XSV(const char *, suspendCommand, "sudo /usr/sbin/pm-suspend") ++XSV(const char *, shutdownCommand, "test -e /run/elogind/users && loginctl poweroff") ++XSV(const char *, rebootCommand, "test -e /run/elogind/users && loginctl reboot") ++XSV(const char *, suspendCommand, "test -e /run/elogind/users && loginctl suspend") #else XSV(const char *, shutdownCommand, 0) XSV(const char *, rebootCommand, 0) |