icewm/icewm-preferences.patch
Yifan Jiang e34948774a Accepting request 1044025 from home:polslinux:branches:X11:windowmanagers
- Update to 3.3.0:
  * Prevent a derefence of a null-Pixel in xftColor.
  * Add "getClass" and "setClass" commands to icesh.
  * Support tabs in task grouping.
  * Use spaces instead of dots when printing WM_COMMAND.
  * When a focused window hides or rolls up, focus some other window.
  * When looking for a focusable window, avoid rolled up windows.
  * Fix for setting focus on passive motif dialogs 
  * Fallback to rolled up windows in the second pass of getLastFocus.
  * Use CurrentTime when setting focus to a passive client in the timeout.
  * On icon not found, report dimensions.
  * Don't refocus a focused window in focusLastWindow.
  * Don't activate an active window when receiving an activation message.
  * Ignore duplicate map requests.
  * Let icesh implicitly select windows at most once.
  * Add support for nanosvg for issue #695.
  * Add preference ToolTipIcon=1 for issue #637.
  * Add nanosvg to .gitignore.
  * Remove unneeded logevent from icesh.
- Remove unknown options from configure 
- Rebase icewm-preferences.patch

OBS-URL: https://build.opensuse.org/request/show/1044025
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=128
2023-01-18 02:25:42 +00:00

74 lines
2.3 KiB
Diff

Tweak default icewm preferences
Attention: this patch is applied in the %build phase, because it patches
a file generated by ./src/genpref. To edit the patch:
quilt setup icewm.spec
cd icewm-<version>
quilt push -a
./configure <options from the spec>
make -j8 # Generate src/preference
quilt import -p0 patches/icewm-preferences.patch
quilt push
vi lib/preferences
quilt refresh
---
Index: icewm-3.3.0/src/preferences
===================================================================
--- icewm-3.3.0.orig/src/preferences
+++ icewm-3.3.0/src/preferences
@@ -207,6 +207,7 @@
# Icon search path (colon separated)
# IconPath="/usr/local/share/icons:/usr/local/share/pixmaps:/usr/share/icons:/usr/share/pixmaps:"
+IconPath="/usr/share/icons/Adwaita/16x16/legacy:/usr/share/icons/Adwaita/16x16/apps:/usr/share/icons/hicolor:/usr/share/icons:/usr/share/pixmaps"
# Colon separated icon theme list with wildcard support. Minus prefix - can be used to exclude themes.
# IconThemes="*:-HighContrast"
@@ -501,6 +502,7 @@
# Command to lock display/screensaver.
# LockCommand=""
+LockCommand="xlock -mousemotion"
# Command to cancel logout.
# LogoutCancelCommand=""
@@ -702,6 +704,7 @@
# Command to reboot the system.
# RebootCommand="test -e /run/systemd/system && systemctl reboot"
+RebootCommand="/bin/sh -c 'systemctl reboot ||:'"
# Send the clicks outside menus to target window.
# ReplayMenuCancelClick=0 # 0/1
@@ -771,6 +774,7 @@
# Command to shutdown the system.
# ShutdownCommand="test -e /run/systemd/system && systemctl poweroff"
+ShutdownCommand="/bin/sh -c 'systemctl poweroff ||:'"
# Maximized windows can be resized.
# SizeMaximized=0 # 0/1
@@ -1473,18 +1477,21 @@ WorkspaceNames=" 1 ", " 2 ", " 3 ", " 4
# Display desktop background centered and not tiled.
# DesktopBackgroundCenter=0 # 0/1
+DesktopBackgroundCenter=0 # 0/1
# Desktop background color(s)
# DesktopBackgroundColor=""
# Desktop background image(s)
# DesktopBackgroundImage=""
+DesktopBackgroundImage="BRANDING_PICTURE"
# Paint the background image over all multihead monitors combined.
# DesktopBackgroundMultihead=0 # 0/1
# Resize desktop background to full screen.
# DesktopBackgroundScaled=0 # 0/1
+DesktopBackgroundScaled=1 # 0/1
# Color(s) to announce for semitransparent windows.
# DesktopTransparencyColor=""