feat(theme,display,wm,power,make): add Anodized theme, editors, multi-monitor arrangement, power timeouts, bar compaction, and replace state preservation

- Replace deprecated AnodeDefault with dark-silvery Anodized default theme
- Add interactive theme editor, duplicator, and non-standard .xth importer to anode-themes (+ CLI --install)
- Fix multi-monitor dwm/lock/vkbd/EDID edge cases and integrate monitor arrangement + 15s revert into anode-display and anode-apply-display
- Gate anode-touchd behind WITH_TOUCHD=1 (keeping anode-vkbd unconditional) and add help/rebuild/install-touch/install-system targets to Makefile
- Add idle screen dim, lock, suspend, and suspend-on-AC timeout controls to anode-power and anode-display backed by power.conf + SIGUSR1
- Prevent lockscreen subtitle overflow and progressively compact status bar segments so focused window titles remain visible
- Preserve workspaces, active desktop, monitor state, floating/fullscreen states, and focus across anode-replace and restarts
This commit is contained in:
Luxferre committed 2026-11-27 08:31:35 +02:00
1 parent bb81541b42
commit 4ec3f59e02
40 files changed
+5843 -768

No files matched your search

+14 -10
View File
@@ -9,20 +9,21 @@ ANODE is a lightweight, keyboard-first X11 desktop environment for **Linux, Free
## What's included
- **Window manager, launcher & terminal**: A customized `dwm` setup with workspace layouts, a clickable status bar, and an XEmbed system tray, paired with `dmenu`, the `anode-launcher` desktop/Flatpak app menu, and the `st` terminal featuring `Fira Code` ligatures.
- **Unified themes & fonts**: 22 built-in themes (`data/themes/*.xth`) synced across ANODE, GTK 2/3/4, Qt 5/6, Electron/Chromium apps, Tk (`gtkTtk`), and Dunst notifications — keeping ANODE tools and monospace slots on `Fira Code` while giving third-party apps `Roboto` (or `Noto Sans` when unavailable).
- **Fractional DPI scaling**: Scale cleanly from `0.50x` to `4.00x` (or `auto` from monitor EDID/DPI) across X11, fonts, cursors, GTK, Qt, and Electron/Chromium without double-scaling.
- **Built-in desktop utilities**: Fast native panels for power & control center (`anode-power`), Wi-Fi/Bluetooth/DNS (`anode-net`), audio (`anode-audio`), displays & scaling (`anode-display`), date & timezone (`anode-datetime`), themes (`anode-themes`), screen locking (`anode-lock`), multimedia keys (`anode-media-key`), and an optional touch keyboard (`anode-vkbd`) with edge-swipe gestures (`anode-touchd`).
- **Unified themes & fonts**: 22 built-in themes (`data/themes/*.xth`, defaulting to dark-silvery `Anodized`) synced across ANODE, GTK 2/3/4, Qt 5/6, Electron/Chromium apps, Tk (`gtkTtk`), and Dunst notifications — keeping ANODE tools and monospace slots on `Fira Code` while giving third-party apps `Roboto` (or `Noto Sans` when unavailable) — plus a built-in theme editor, duplicator, and `.xth` importer in `anode-themes`.
- **Fractional DPI scaling & multi-monitor arrangement**: Scale cleanly from `0.50x` to `4.00x` (or `auto` from primary monitor EDID/DPI) across X11, fonts, cursors, GTK, Qt, and Electron/Chromium without double-scaling, alongside an interactive monitor arrangement dialog with 15 s safety revert and persistent `$XDG_CONFIG_HOME/anode/displays.conf` layouts (`anode-apply-display`).
- **Built-in desktop utilities**: Fast native panels for power, idle/screen timeouts & control center (`anode-power`), Wi-Fi/Bluetooth/DNS (`anode-net`), audio (`anode-audio`), displays, arrangement, timeouts & scaling (`anode-display`), date & timezone (`anode-datetime`), themes & editor (`anode-themes`), screen locking (`anode-lock`), multimedia keys (`anode-media-key`), on-screen virtual keyboard (`anode-vkbd`), and opt-in touchscreen edge gestures (`anode-touchd`).
- **Session autostart & live switching**: Familiar i3-style autostart config (`~/.config/anode/autostart`), session profiles, XDG autostart entries, and safe session switching via `anode-replace`.
## Build & install
```sh
make
sudo make XSESSIONSDIR=/usr/share/xsessions install
make # Build ANODE (or 'make rebuild' for a clean rebuild)
sudo make install-system # Install to /usr/local + /usr/share/xsessions (LightDM/SDDM/GDM)
```
- Pass `PREFIX=/opt/anode`, `CC=clang`, or `WITH_GTKTTK=1` to customize the build (`WITH_GTKTTK=auto` is enabled by default).
- Omit `XSESSIONSDIR=...` if you launch from `~/.xinitrc` (`exec /usr/local/bin/anode-session`) instead of a system display manager like LightDM.
- **Minimal `~/.xinitrc` install** (`exec /usr/local/bin/anode-session`): use `sudo make install` instead of `install-system`.
- **Touchscreen hardware opt-in (`anode-touchd`)**: use `sudo make install-system-touch` or `sudo make install-touch` (or pass `WITH_TOUCHD=1` to `make` / `make rebuild` / `make install`; `anode-vkbd` is always installed).
- **Custom options & help**: run `make help` to see all targets and variables (`PREFIX=/opt/anode`, `XSESSIONSDIR=...`, `DESTDIR=...`, `CC=clang`, `WITH_TOUCHD=1`, `WITH_GTKTTK=0`).
- To switch from an existing X11 session, run `anode-replace` (or `anode-replace --switch-session` under a display manager). Pass `--profile NAME` to `anode-session` or `anode-replace` to enable profile-specific autostart rules.
## Everyday shortcuts & commands
@@ -34,18 +35,21 @@ Default modifier key is `Super` (`Mod4`).
| `Super + Return` | Open terminal (`st`) |
| `Super + p` / `Super + Space` | Open application & Flatpak launcher (`anode-launcher`) |
| `Super + c` | Open control center & power (`anode-power`) |
| `Super + d` | Open display & scaling settings (`anode-display`) |
| `Super + t` | Open theme & font switcher (`anode-themes`) |
| `Super + d` | Open monitor arrangement, display & scaling settings (`anode-display`) |
| `Super + t` | Open theme selector, editor & `.xth` importer (`anode-themes`) |
| `Super + n` | Open network, Wi-Fi & Bluetooth settings (`anode-net`) |
| `Super + a` | Open audio mixer & profiles (`anode-audio`) |
| `Super + w` | Open date & timezone panel (`anode-datetime`) |
| `Super + Shift + l` | Lock screen (`anode-lock`) |
| `Super + Shift + r` | Reload `.Xresources`, theme, scale, and `exec_always` autostart entries |
Themes and display scaling can also be changed from the command line:
Themes, monitor layouts, and display scaling can also be managed from the command line:
```sh
anode-apply-theme LynxLair
anode-apply-theme --install /path/to/CustomTheme.xth
anode-apply-scale 1.50
anode-display --arrange
```
See [docs/KEYBINDINGS.md](docs/KEYBINDINGS.md) for all window management bindings, media keys, and touchscreen edge gestures.