Skip to content

Commit cc25302

Browse files
committed
pekwm: update to 0.4.2.
pekwm-0.4.2 =========== Closed issues ------------- * #205, SysTray icons not displaying properly due to missing configure notify. * Fix out of bounds vector access in pekwm_sys TimeOfDay command and stdin reading in interactive mode. * #212, the root window now exposes the pekwm version using the property `_PEKWM_VERSION`. * #211, lockup when moving GTK4 application windows. pekwm-0.4.1 =========== Closed issues ------------- * #199, unintended N: prefix on _NET_WORKSPACE_NAMES * #203, MoveToEdge and FillEdge actions failed to get the current head always moving the window to the first head. pekwm-0.4.0 =========== Closed issues ------------- * #147, picom fade out visual artifacts. * #21, support `_NET_RESTACK_WINDOW`. * Configuration default values was not picked up properly if the node was missing from the configuration. * `_NET_WM_STATE` ClientMessage with action unset should no longer cause the property to be set. * Always remove Window from the save set when deleting a Client. Fix issues with client modals ending up as empty black windows on restart. New --- * Use pledge on pekwm_* commands on systems where it is available (OpenBSD) * Add Debug section to config, making it possible to enable debug logging at startup. Log file is no longer truncated when it is opened. * Add Theme section to config. Currently has a single element, BackgroundOverride for overriding the background set in the theme file. * Add `OnCloseFocusStacking` (boolean, default false) and `OnCloseFocusRaise` (Always|Never|IfCovered, default Always) settings under the Screen section. `OnCloseFocusStacking`, if set to false, use the stacking order instead of the MRU list to find a client when the focused object is closed. `OnCloseFocusRaise`, controls wheter the window focused is raised. IfCovered will raise the window if it is mostly covered by other windows. * Add auto property `Placement` for overriding the placement model for specific clients. * Add autoproperties_clientrules file, not installed in ~/.pekwm, that contain client specific rules to help improve compatibility with pekwm. Created as a separate file to avoid users having to update their configuration file on upgrades when rules get added or removed. * Auto theme variant mode, reads the _PEKWM_THEME_VARIANT property on the root window and selects the theme variant using that value. The theme will automatically reload whenever the property changes. * pekwm_audio_ctrl.sh script for controlling playback/volume with default keybindings for XF86Audio* keys. * New Screen option `Scale`, affects how themes and other dimensions given in the configuration is processed. Default is 1.0, treated as is, for high resolution displays set to 2.0 for 2x scaled images, padding etc. * Add action `FillEdge` making a window fill given edge occupying N% of the "other" direction of the screen. `FillEdge LeftEdge 40` will make the window use the full left edge being 40% of the screen width wide. `FillEdge` on the opposite edge will make the window return to the size it had before the initial `FillEdge`. * New Screen option `WarpPointerOn`, if set the pointer will be warped to the `New` clients or when a client is focused using `FocusChange`. Empty string to disable. (Close #186) * Themes can now have an `XResources` section specifying per theme X11 resources. * `WorkspacesBackAndForth` option in the `Screen` section of the configuration added. When enabled, GotoWorkspace Num to the currently active workspace will go to the previously active workspace. Allows for quick and easy switch between two workspaces. Default is enabled. * `DetachSplitHorz` and `DetachSplitVert` actions detaching a client and dividing the space between the existing frame and newly created one from the detach action. Takes one argument, percent between 5-95 that the client being detached should occupy of the current frames size. * #192, add `TextBackground` to themes supporting a separate texture under the text render on titles. Font padding is included in the width when rendering the texture. * #194, add Sys XSetInt and XSetColor for setting integer and color XSETTINGS. * #194, add Sys Dpi command for dynamic reconfiguration of the current Dpi XSETTING and X resource. * #194, add WmSet Scale for dynamic override of the Scale setting. * Add WorkspaceName to WmSet for overriding workspace names. Updated ------- * Keys updated to use $MOVERESIZE_INCREMENT (set in default vars file) for actions in the MoveResize section. Default bumped from 10 to 15. * Configuration file keys have been updated to support quoted syntax, allowing newlines and other special characters. ``` Section { "Special Key" = "Value" } ``` * Variable expansion failures in the configuration are now logged with source:line:pos context information. * Command/Search dialog now react to mouse clicks for repositioning the cursor. * ClearToCursor (Mod1 + Backspace) new InputDialog keybinding for removing all input up until the current cursor position. * Asymetric tabs now grow up until minimum width. * Menu items can now have shortcuts by prefixing the letter of the item with _. Pressing that letter when the menu has focus will select and execute that menu item. Removed ------- ## pekwm_ctrl * -g (--xrm-get) and -s (--xrm-set) commands for reading and writing the Xresources. ## pekwm_panel * Added pekwm_panel_battery.sh script for retreiving battery charge level in a platform independent manner. Sets battery (0-100) and battery_status (ac|battery) variables. * Fix icon rendering as garbage + cache of scaled icons for improved performance. * Add Assign option to Command section, if set, assign complete lines of output to the variable name set in Assign instead of parsing the output. * Add Text to Bar widget, allows to render text inside the bar area. * Add noicon option to ClientList widget disable rendering of client icons. ## pekwm_screenshot * Add --wait option to screenshot for delaying the screenshot capture. ## pekwm_sys * New process acting as an XSETTINGS daemon, tracks daytime changes and updates X resources/XSETTINGS on daytime change in order to support automatic light/dark mode changing. * Controlled from pekwm with the `Sys` command that supports the following sub-commands: * `TimeOfDay`, override time of day. Can be `Dawn`, `Day`, `Dusk`, `Night` and `Auto`. * `XSet`, set XSETTING String value. * `XSave`, save all XSETTING values to `~/.pekwm/xsettings.save`. Settings will be loaded on start.
1 parent 8baf0a0 commit cc25302

File tree

3 files changed

+41
-83
lines changed

3 files changed

+41
-83
lines changed

wm/pekwm/Makefile

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
# $NetBSD: Makefile,v 1.75 2026/01/27 08:40:46 wiz Exp $
1+
# $NetBSD: Makefile,v 1.76 2026/02/09 12:24:28 wiz Exp $
22

3-
DISTNAME= release-0.3.2
4-
GITHUB_PROJECT= pekwm
5-
GITHUB_TAG= refs/tags/release-0.3.2
6-
PKGNAME= ${GITHUB_PROJECT}-0.3.2
7-
PKGREVISION= 3
3+
DISTNAME= pekwm-0.4.2
84
CATEGORIES= wm
9-
MASTER_SITES= ${MASTER_SITE_GITHUB:=pekdon/}
5+
MASTER_SITES= https://www.pekwm.se/pekwm/uv/
106

117
MAINTAINER= gls@NetBSD.org
128
HOMEPAGE= https://www.pekwm.se/
139
COMMENT= Light, unobtrusive, and configurable window manager
1410
LICENSE= gnu-gpl-v2
1511

16-
WRKSRC= ${WRKDIR}/pekwm-release-0.3.2
17-
12+
# src/lib/Md5.cc:267:19: error: 'UINT32_MAX' was not declared in this scope; did you mean 'UINT_MAX'?
13+
CFLAGS+= -D__STDC_LIMIT_MACROS
1814
USE_TOOLS+= pkg-config
1915
USE_LANGUAGES= c c++
2016

wm/pekwm/PLIST

Lines changed: 32 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
@comment $NetBSD: PLIST,v 1.14 2023/10/06 03:11:30 pin Exp $
1+
@comment $NetBSD: PLIST,v 1.15 2026/02/09 12:24:28 wiz Exp $
22
bin/pekwm
33
bin/pekwm_bg
44
bin/pekwm_ctrl
55
bin/pekwm_dialog
66
bin/pekwm_panel
77
bin/pekwm_screenshot
8+
bin/pekwm_sys
89
bin/pekwm_theme
910
bin/pekwm_wm
1011
man/man1/pekwm.1
@@ -14,87 +15,48 @@ man/man1/pekwm_panel.1
1415
man/man1/pekwm_screenshot.1
1516
man/man1/pekwm_theme.1
1617
share/examples/pekwm/autoproperties
18+
share/examples/pekwm/autoproperties_clientrules
1719
share/examples/pekwm/autoproperties_typerules
1820
share/examples/pekwm/config
1921
share/examples/pekwm/config_system
2022
share/examples/pekwm/keys
23+
share/examples/pekwm/keys_inputdialog
24+
share/examples/pekwm/keys_menu
25+
share/examples/pekwm/keys_moveresize
2126
share/examples/pekwm/menu
27+
share/examples/pekwm/menu_windowmenu
2228
share/examples/pekwm/mouse
2329
share/examples/pekwm/mouse_click
2430
share/examples/pekwm/mouse_sloppy
2531
share/examples/pekwm/mouse_system
2632
share/examples/pekwm/panel
2733
share/examples/pekwm/start
2834
share/examples/pekwm/vars
35+
share/pekwm/icons/battery-ac.png
36+
share/pekwm/icons/battery-battery.png
37+
share/pekwm/icons/battery.png
38+
share/pekwm/icons/flag-de.png
39+
share/pekwm/icons/flag-dk.png
40+
share/pekwm/icons/flag-fi.png
41+
share/pekwm/icons/flag-fr.png
42+
share/pekwm/icons/flag-hu.png
43+
share/pekwm/icons/flag-is.png
44+
share/pekwm/icons/flag-no.png
45+
share/pekwm/icons/flag-pl.png
46+
share/pekwm/icons/flag-pt.png
47+
share/pekwm/icons/flag-se.png
48+
share/pekwm/icons/flag-us.png
49+
share/pekwm/icons/flag.png
50+
share/pekwm/scripts/pekwm_audio_ctrl.sh
51+
share/pekwm/scripts/pekwm_lock.sh
52+
share/pekwm/scripts/pekwm_panel_battery.sh
53+
share/pekwm/scripts/pekwm_panel_sysinfo
2954
share/pekwm/scripts/pekwm_themeset.sh
55+
share/pekwm/scripts/pekwm_toggle_kbd_layout.sh
3056
share/pekwm/scripts/pekwm_ws_menu.sh
31-
share/pekwm/themes/default-plain/theme
32-
share/pekwm/themes/default/arrow.png
33-
share/pekwm/themes/default/arrow_focus.png
34-
share/pekwm/themes/default/backgrounds/pekwm_generated-1920x1080.png
35-
share/pekwm/themes/default/backgrounds/pekwm_generated-2560x1440.png
36-
share/pekwm/themes/default/bottom-border.png
37-
share/pekwm/themes/default/bottom-border_unfocus.png
38-
share/pekwm/themes/default/bottom-left.png
39-
share/pekwm/themes/default/bottom-left_unfocus.png
40-
share/pekwm/themes/default/bottom-right.png
41-
share/pekwm/themes/default/bottom-right_unfocus.png
42-
share/pekwm/themes/default/button-close.png
43-
share/pekwm/themes/default/button-close_hover.png
44-
share/pekwm/themes/default/button-close_press.png
45-
share/pekwm/themes/default/button-max.png
46-
share/pekwm/themes/default/button-max_hover.png
47-
share/pekwm/themes/default/button-max_press.png
48-
share/pekwm/themes/default/button-min.png
49-
share/pekwm/themes/default/button-min_hover.png
50-
share/pekwm/themes/default/button-min_press.png
51-
share/pekwm/themes/default/button.png
52-
share/pekwm/themes/default/button_hover.png
53-
share/pekwm/themes/default/button_press.png
54-
share/pekwm/themes/default/button_unfocus.png
55-
share/pekwm/themes/default/item.png
56-
share/pekwm/themes/default/item_focus.png
57-
share/pekwm/themes/default/left-border.png
58-
share/pekwm/themes/default/left-border_unfocus.png
59-
share/pekwm/themes/default/menu-bottom.png
60-
share/pekwm/themes/default/menu-bottom_unfocus.png
61-
share/pekwm/themes/default/menuline.png
62-
share/pekwm/themes/default/panel.png
63-
share/pekwm/themes/default/right-border.png
64-
share/pekwm/themes/default/right-border_unfocus.png
65-
share/pekwm/themes/default/tab-separator.png
66-
share/pekwm/themes/default/tab-separator_unfocus.png
57+
share/pekwm/themes/default/template
6758
share/pekwm/themes/default/theme
68-
share/pekwm/themes/default/title.png
69-
share/pekwm/themes/default/title_unfocus.png
70-
share/pekwm/themes/default/top-border.png
71-
share/pekwm/themes/default/top-border_unfocus.png
72-
share/pekwm/themes/default/top-left.png
73-
share/pekwm/themes/default/top-left_unfocus.png
74-
share/pekwm/themes/default/top-right-no-buttons.png
75-
share/pekwm/themes/default/top-right.png
76-
share/pekwm/themes/default/top-right_unfocus.png
77-
share/pekwm/themes/winter/backgrounds/background-2560x1440.jpg
78-
share/pekwm/themes/winter/bd-b-un.png
79-
share/pekwm/themes/winter/bd-b.png
80-
share/pekwm/themes/winter/bd-bl-un.png
81-
share/pekwm/themes/winter/bd-bl.png
82-
share/pekwm/themes/winter/bd-br-un.png
83-
share/pekwm/themes/winter/bd-br.png
84-
share/pekwm/themes/winter/bd-lr-un.png
85-
share/pekwm/themes/winter/bd-lr.png
86-
share/pekwm/themes/winter/bd-t-un.png
87-
share/pekwm/themes/winter/bd-t.png
88-
share/pekwm/themes/winter/bd-tl-un.png
89-
share/pekwm/themes/winter/bd-tl.png
90-
share/pekwm/themes/winter/bd-tr-un.png
91-
share/pekwm/themes/winter/bd-tr.png
92-
share/pekwm/themes/winter/panel-sep.png
93-
share/pekwm/themes/winter/panel.png
94-
share/pekwm/themes/winter/sep-un.png
95-
share/pekwm/themes/winter/sep.png
96-
share/pekwm/themes/winter/theme
97-
share/pekwm/themes/winter/title-fo.png
98-
share/pekwm/themes/winter/title-sel-un.png
99-
share/pekwm/themes/winter/title-sel.png
100-
share/pekwm/themes/winter/title-un.png
59+
share/pekwm/themes/default/theme-dark
60+
share/pekwm/themes/default/theme-dawn
61+
share/pekwm/themes/default/theme-dusk
62+
share/pekwm/themes/default/theme-light

wm/pekwm/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.27 2024/12/30 21:50:52 pin Exp $
1+
$NetBSD: distinfo,v 1.28 2026/02/09 12:24:28 wiz Exp $
22

3-
BLAKE2s (release-0.3.2.tar.gz) = ed372cfcbab107758e6fe0166c84c35917560daf7130a2a663edd972b869cf9f
4-
SHA512 (release-0.3.2.tar.gz) = b0378792c01ad979a2aed2a4815d477ab37e2bbe99e6664512b2516e89ffff248d1198aaf7f91b59a2b8f35d2d10a92cbfa0f6edb89783938993afb6ec3f15a7
5-
Size (release-0.3.2.tar.gz) = 1213773 bytes
3+
BLAKE2s (pekwm-0.4.2.tar.gz) = f679bcd877966059150a83d1d57df2876d137247bf1f238c6b8d4ad80babe943
4+
SHA512 (pekwm-0.4.2.tar.gz) = 4506547e0bff14f6b6c756664c99be22495f71899e12e31c24d2b9d1b5ff8175079f952d3a45ed69ce0266186c9f019c5e235aef40d8232ccfe5aa8679696b33
5+
Size (pekwm-0.4.2.tar.gz) = 812235 bytes

0 commit comments

Comments
 (0)