icewm/icewm-preferences.patch
Ondřej Súkup 0ccdb7a76a Accepting request 1115090 from home:polslinux:branches:X11:windowmanagers
- Update to version 3.4.3:
  * New preference "TaskBarShowWindowTitles" for icon-only task buttons.
  * New winoption "doNotManage" to workaround bugs in picom for plank.
  * When a battery has no data about full charge, use the capacity.
  * When cascading windows, include the border size in the displacement.
  * Let icewmbg interpret command-line file arguments relative to $PWD.
  * Add a -f,--fork option to icewmbg to detach it from the terminal.
  * Fix the Window List Menu for #144.
  * Fix restoring from fullscreen with F11 in chromium for #141.
  * Support tabs in the Window List Menu.
  * Control the terminal in icewm-menu-fdo by option or environment.
  * Let icewm-menu-fdo use a list of default terminals to choose from.
- Drop unknown config options:
  * --enable-guievents
  * --enable-antialiasing
  * --enable-gradients
  * --enable-shaped-decorations

OBS-URL: https://build.opensuse.org/request/show/1115090
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=141
2023-10-04 09:12:30 +00:00

79 lines
2.5 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.4.3/src/preferences
===================================================================
--- a/src/preferences
+++ b/src/preferences
@@ -212,7 +212,7 @@
# HorizontalEdgeSwitch=0 # 0/1
# 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"
@@ -506,7 +506,7 @@
# LimitSize=1 # 0/1
# Command to lock display/screensaver.
-# LockCommand=""
+LockCommand="xlock -mousemotion"
# Command to cancel logout.
# LogoutCancelCommand=""
@@ -707,7 +707,7 @@
# RaiseOnFocus=1 # 0/1
# Command to reboot the system.
-# RebootCommand="test -e /run/systemd/system && systemctl reboot || loginctl reboot"
+RebootCommand="/bin/sh -c 'systemctl reboot ||:'"
# Send the clicks outside menus to target window.
# ReplayMenuCancelClick=0 # 0/1
@@ -776,7 +776,7 @@
# ShowWorkspaceStatus=1 # 0/1
# Command to shutdown the system.
-# ShutdownCommand="test -e /run/systemd/system && systemctl poweroff || loginctl poweroff"
+ShutdownCommand="/bin/sh -c 'systemctl poweroff ||:'"
# Maximized windows can be resized.
# SizeMaximized=0 # 0/1
@@ -1481,19 +1481,19 @@ WorkspaceNames=" 1 ", " 2 ", " 3 ", " 4
# CycleBackgroundsPeriod=0 # [0-2147483647]
# Display desktop background centered and not tiled.
-# DesktopBackgroundCenter=0 # 0/1
+DesktopBackgroundCenter=0 # 0/1
# Desktop background color(s), comma separated.
# DesktopBackgroundColor=""
# Desktop background image(s), comma separated.
-# 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=""