initial release

This commit is contained in:
thomas committed 2026-11-17 09:28:47 +01:00
1 parent 96ab3df34e
commit 9876e39216
57 files changed
+5301 -1

No files matched your search

+439 -1
View File
@@ -1,2 +1,440 @@
# Minimal-Debian-Desktop
# labwc Desktop Setup
A lightweight, keyboard-driven Wayland desktop for **Debian 13 (trixie)** and Debian-based systems, built around the [labwc](https://github.com/labwc/labwc) stacking compositor.
The repository contains a complete dotfiles bundle, matching **dark and light themes**, and an interactive installer that sets up packages, applications, the login screen, the keyring, and optional developer tooling.
The look is inspired by KDE Breeze, but the desktop itself is plain Wayland + GTK: labwc, Waybar, fuzzel, Thunar, kitty/foot, and Arc/Qogir themes.
---
## Contents
- [What this is](#what-this-is)
- [Who it is for](#who-it-is-for)
- [Features](#features)
- [Included components](#included-components)
- [Requirements](#requirements)
- [Installation](#installation)
- [Installer menu](#installer-menu)
- [Optional components](#optional-components)
- [After installation](#after-installation)
- [Keyboard shortcuts](#keyboard-shortcuts)
- [Everyday usage](#everyday-usage)
- [Themes](#themes)
- [Configuration](#configuration)
- [Repository layout](#repository-layout)
- [What the installer changes](#what-the-installer-changes)
- [Troubleshooting](#troubleshooting)
- [Limitations](#limitations)
- [Credits](#credits)
---
## What this is
This is **not a full desktop environment** like GNOME or KDE Plasma. It is an opinionated, ready-to-use labwc desktop:
- **labwc** handles windows, workspaces, and keybindings.
- **Waybar** provides a compact bottom panel with launcher, taskbar, tray, system status, and clock.
- **fuzzel** is the application launcher.
- **kitty** and **foot** are the terminals, using fish as the shell.
- **Thunar**, **Loupe**, **GParted**, Firefox, Evince, and Flatseal cover everyday desktop tasks.
- **greetd + tuigreet** provide a text-based login screen with power buttons.
- Everything is configured through plain text files under `~/.config`.
The result is a small, fast, reproducible desktop that stays out of the way and is easy to version-control.
## Who it is for
### Good fit
- **Developers** who work primarily in a terminal and want a consistent, keyboard-driven setup.
- **Power users** who prefer editing configuration files over clicking through settings dialogs.
- **Users of older or low-power hardware** and **virtual machines**, where a full desktop environment is too heavy.
- **Debian users** who want a coherent Breeze-style Wayland desktop without installing KDE.
- **People who like reproducible setups**: the whole desktop lives in this repository and is applied by one script.
### Less suitable
- Users who expect a graphical settings center, themes app, or GNOME/KDE-style conveniences.
- Non-Debian distributions (Fedora, Arch, openSUSE, …) — the installer is apt-based and will not work there.
- Beginners who do not want to touch configuration files.
- NVIDIA users who need proprietary driver setup — the installer only provides the standard Mesa stack and does not configure NVIDIA drivers.
## Features
- Minimal **Wayland** desktop with labwc, Waybar, and fuzzel.
- Coherent **dark and light themes** across the panel, terminals, launcher, notifications, lock screen, login screen, and fish prompt.
- **Keyboard-first workflow**: window management, four workspaces, snapping, screenshots, volume, session menu.
- **Automatic idle handling**: lock after 10 minutes, display off after 15, suspend after 30 — paused while audio or video is playing.
- **Text-based login screen** with tuigreet, including shutdown and reboot buttons.
- **gnome-keyring** integration, unlocked at login, with Flatpak secret-service support.
- **Flatpak** with Flathub, Firefox, Evince, and Flatseal preconfigured.
- **Bundled Qogir icon theme** (light and dark) and Nerd Font symbols.
- **Optional developer tooling**: Node.js (nvm), opencode, uv, Rust/Cargo, Ollama, Docker + Compose.
- **Hardware-aware options**: Rusticl/OpenCL for AMD GPUs, pixman software rendering in virtual machines.
- **Safe by default**: existing files are backed up before they are replaced; nothing is changed before the final confirmation.
## Included components
| Area | Components |
| --- | --- |
| Compositor | labwc |
| Panel | Waybar (launcher, taskbar, tray, network, audio, CPU, memory, session, clock) |
| Launcher | fuzzel |
| Terminals | kitty, foot (both use fish) |
| Shell | fish, with custom prompt and abbreviations |
| File manager | Thunar (with udisks2, gvfs, tumbler, thunar-volman) |
| Notifications | mako |
| Lock / idle | swaylock, swayidle, custom `idle-action` helper |
| Wallpaper | swaybg |
| Login | greetd + tuigreet |
| Screenshots | grim, slurp, wl-clipboard, swappy |
| Audio | PipeWire, WirePlumber, ALSA utilities |
| Network | NetworkManager |
| Displays | wdisplays, wlr-randr, wlopm |
| Theming | Arc / Arc-Darker, Qogir-Manjaro icons, DejaVu Sans, JetBrains Mono, Nerd Font symbols |
| Applications | Firefox (Flatpak), Evince (Flatpak), Flatseal (Flatpak), Loupe, GParted, mousepad, Helix (`hx`), kew |
| System utilities | fastfetch, btop, htop, nvtop, lazygit, git, jq, polkit agent, xdg-desktop-portal, Flatpak |
| Optional | Node.js (nvm), opencode, uv, Rust/Cargo, Ollama, Docker + Compose, Rusticl |
## Requirements
- **Debian 13 (trixie)** — the tested target. Other Debian-based distributions with `apt` may work, but are not officially supported; the installer warns when it detects a non-Debian system.
- A **Wayland-capable graphics setup** (Intel/AMD Mesa is the tested path, including virtual machines with pixman).
- **systemd**, `sudo`, and a regular user account. Do **not** run the installer as root; it invokes `sudo` itself.
- An **internet connection** for apt packages, Flatpak applications, and Nerd Fonts. The Qogir icon archive is bundled.
- A **local terminal** (running the installer over SSH is possible, but the installer can only apply live GTK/theme changes to the graphical session it can detect).
## Installation
```bash
git clone <your-repository-url> desktop-setup
cd desktop-setup
chmod +x install.sh
./install.sh
```
Or download the repository as an archive and run the same command from the extracted directory.
The installer is **interactive and accepts no command-line parameters**. It shows a menu, asks about optional components, and prints a summary before changing anything.
> **Important:** The files in `home/` and `themes/*/home/` contain the placeholders `@HOME@` and `@NODE_BIN@`. Do not copy them manually — the installer substitutes the real home directory and Node.js path while installing.
## Installer menu
```text
1) Full installation (recommended)
2) Change theme only (light/dark)
3) Patch GParted for Wayland only
4) Set up keyring (gnome-keyring) only
5) Quit
```
| Option | What it does |
| --- | --- |
| **1 — Full installation** | Installs packages, icon theme, fonts, dotfiles, Flatpak apps, services, login screen, keyring, and all selected optional components. |
| **2 — Change theme only** | Switches between dark and light. Updates dotfiles, GTK/dconf, wallpaper, terminals, panel, launcher, notifications, lock screen, fish colors, and the greetd theme. Preserves an existing VM renderer and Rusticl configuration. |
| **3 — GParted patch only** | Makes GParted started as root (`pkexec`/`sudo`) use the Wayland display of the desktop user. |
| **4 — Keyring only** | Installs and configures gnome-keyring, PAM integration, and the portal secret backend. |
| **5 — Quit** | Exits without changes. |
### Full installation flow
1. Choose **dark** or **light**.
2. Answer the questions about virtual machine, Node.js, opencode, uv, Cargo, Ollama, Docker, Rusticl, and fish as the login shell.
3. Review the summary and confirm with **Install now? [Y/n]**.
4. Enter your sudo password when prompted.
Existing files that would be overwritten are copied to:
```text
~/Backups/desktop-setup-YYYYMMDD-HHMMSS/
```
An existing display manager (LightDM, GDM, SDDM, Ly) is **not disabled automatically**. The installer asks before enabling greetd in its place.
## Optional components
| Component | Purpose |
| --- | --- |
| **pixman renderer** | Software rendering for virtual machines without working 3D acceleration. Prevents black windows and graphics glitches. |
| **Node.js (nvm)** | Installs nvm and the current Node.js LTS release. |
| **opencode** | Terminal-based AI coding agent. |
| **uv** | Fast Python package and project manager. |
| **Cargo / Rust (rustup)** | Rust toolchain; also installs `build-essential` for native crates. |
| **Ollama** | Local LLM runtime and service. |
| **Docker + Compose** | Docker Engine, CLI, and Compose; adds the user to the `docker` group. |
| **Rusticl (AMD)** | OpenCL 3.0 via Mesa/radeonsi, with only Rusticl exposed as the OpenCL ICD. Default is on when an AMD GPU is detected. |
| **fish as login shell** | Runs `chsh -s /usr/bin/fish` after checking `/etc/shells`. |
## After installation
1. **Log out and back in** so GTK applications pick up the icon, cursor, and theme settings.
2. **Reboot** if you enabled greetd, so the new login screen becomes active.
3. Log in through tuigreet and press **Super+Return** to open a terminal.
Useful first commands:
```bash
fastfetch # system overview
btop # resource monitor
lazygit # Git TUI, inside a repository
session-menu # session actions (also Super+X)
```
If you ever need to start the desktop manually from a local TTY, the fish function `startlabwc` starts labwc with `dbus-run-session`, pixman, and software cursors. This is intended for recovery and VM testing, not for normal daily use.
## Keyboard shortcuts
`Super` is the Windows/Command key. The same bindings are defined in `~/.config/labwc/rc.xml`.
### Applications and menus
| Shortcut | Action |
| --- | --- |
| `Super+Return` | Open kitty |
| `Super+D` / `Super+Space` | Open fuzzel launcher |
| `Super+E` | Open Thunar |
| `Super+Menu` | Open the desktop root menu |
| Right-click desktop | Open the desktop root menu |
### Windows
| Shortcut | Action |
| --- | --- |
| `Super+Q` | Close window |
| `Super+M` | Toggle maximize |
| `Super+F` | Toggle fullscreen |
| `Super+A` | Toggle always-on-top |
| `Super+Tab` | Next window |
| `Super+Shift+Tab` | Previous window |
| `Super+Left/Right/Up/Down` | Snap window to screen edge |
### Workspaces
| Shortcut | Action |
| --- | --- |
| `Super+1` … `Super+4` | Switch to workspace 1–4 |
| `Super+Shift+1` … `Super+Shift+4` | Move window to workspace 1–4 and follow |
| `Super+Shift+Left/Right` | Move window one workspace left/right |
### System
| Shortcut | Action |
| --- | --- |
| `Super+Shift+Up` | Volume +5 % |
| `Super+Shift+Down` | Volume −5 % |
| `Super+Shift+M` | Mute/unmute |
| `Print` | Full-screen screenshot |
| `Shift+Print` | Region screenshot |
| `Super+Shift+S` | Region screenshot |
| `Super+L` | Lock screen |
| `Super+X` / `Super+Shift+Q` | Session menu |
| `Super+R` | Reload labwc configuration |
Screenshots are saved to `~/Pictures/Screenshots` (or `~/Bilder/Screenshots` when XDG user directories are localized) and copied to the clipboard.
### Terminal (kitty)
| Shortcut | Action |
| --- | --- |
| `Ctrl+Shift+Enter` | New vertical split |
| `Ctrl+Shift+Alt+Enter` | New horizontal split |
| `Ctrl+Shift+T` | New tab |
| `Ctrl+Shift+Q` | Close tab |
| `Ctrl+Shift+W` | Close split/window |
| `Ctrl+Shift+Left/Right` | Previous/next tab |
| `Ctrl+Shift+]` / `Ctrl+Shift+[` | Next/previous window |
## Everyday usage
- **Launcher:** press `Super+D` or click the ☰ button in Waybar. Type to search installed applications.
- **Taskbar:** Waybar's taskbar shows running applications as icons. Left click focuses or minimizes, middle click closes.
- **System status:** the right side of Waybar shows tray icons, network, volume, CPU, memory, session menu, and clock. Hover for details.
- **Session menu:** `Super+X` or the ⚙ button. It offers lock, suspend, reload labwc, exit labwc, reboot, and shutdown. The menu labels are in German.
- **Notifications:** appear in the top-right corner via mako.
- **Idle behavior:** after 10 minutes the screen locks, after 15 the display turns off, after 30 the machine suspends. Active PipeWire media playback delays these actions, and any activity cancels pending actions.
- **Theme changes:** run `./install.sh` and choose option **2**.
## Themes
Two complete themes are included:
| | Dark | Light |
| --- | --- | --- |
| GTK theme | Arc-Darker (GTK3), Arc-Dark (GTK4) | Arc |
| Icon theme | Qogir-Manjaro-Dark | Qogir-Manjaro |
| Cursor | Qogir-Manjaro-Dark | Qogir-Manjaro |
| Wallpaper | `labwc-dark.png` | `labwc-light.png` |
| Accent | `#3daee9` | `#1c7ed6` |
| Background | `#1b1e20` | `#eef4fb` |
The theme covers labwc decorations, Waybar, kitty, foot, fuzzel, mako, swaylock, tuigreet, fish colors, and GTK/dconf settings.
Switch themes by re-running the installer and choosing **Change theme only**. The new theme is fully active after the next login; the login screen changes after a reboot.
## Configuration
All user configuration is installed under `~/.config` and `~/.local/bin`.
| What | Where | Apply changes |
| --- | --- | --- |
| Window manager, keybindings, workspaces | `~/.config/labwc/rc.xml` | `Super+R` |
| Desktop right-click menu | `~/.config/labwc/menu.xml` | `Super+R` |
| Autostart programs, idle timers | `~/.config/labwc/autostart` | Log out/in |
| Session environment (keyboard layout, cursor, PATH) | `~/.config/labwc/environment` | Log out/in |
| Panel layout | `~/.config/waybar/config` | Restart Waybar |
| Panel appearance | `~/.config/waybar/style.css` | Saved automatically (`reload_style_on_change`) |
| Launcher | `~/.config/fuzzel/fuzzel.ini` | Next launch |
| Terminal (kitty) | `~/.config/kitty/kitty.conf` and `theme.conf` | New terminal |
| Terminal (foot) | `~/.config/foot/foot.ini` | New terminal |
| Notifications | `~/.config/mako/config` | Restart mako |
| Lock screen | `~/.config/swaylock/config` | Next lock |
| Login screen theme | `~/.config/tuigreet/theme.conf` | `greeter-theme --restart` or reboot |
| Shell and prompt | `~/.config/fish/config.fish`, `functions/`, `conf.d/` | New shell |
| Helper scripts | `~/.local/bin/` | Immediately |
Notes:
- The **keyboard layout is German** (`XKB_DEFAULT_LAYOUT=de`). Change it in `~/.config/labwc/environment` and log out/in if you need another layout.
- The **desktop design targets 1280×1024**, but works at other resolutions. Use `wdisplays` or `wlr-randr` to configure monitors.
- Theme-specific files live in the repository under `themes/<mode>/home/` and are copied into `$HOME` by the installer. Editing the installed files is fine, but the next installation backs them up and replaces them.
- Configuration files and menu labels are mostly **in German**; the code is documented in German as well. This README is the English entry point.
## Repository layout
```text
.
├── install.sh # interactive installer
├── home/ # dotfiles shared by both themes
│ ├── .config/
│ │ ├── labwc/ # rc.xml, menu.xml, shutdown
│ │ ├── waybar/ # config (layout)
│ │ ├── kitty/ # shared kitty.conf
│ │ ├── fish/ # config, prompt, abbreviations
│ │ ├── xdg-desktop-portal/
│ │ └── mimeapps.list
│ └── .local/bin/ # session-menu, idle-action, screenshot,
│ # set-gtk-settings, greeter-theme, …
├── themes/
│ ├── dark/home/ # dark overrides (colors, CSS, theme.conf)
│ └── light/home/ # light overrides
└── assets/
├── dconf-dark.conf # reference GSettings dumps
├── dconf-light.conf
├── dconf-dark-user # binary dconf fallback databases
├── dconf-light-user
├── labwc-dark.png # wallpapers
├── labwc-light.png
└── Qogir-icons-2025-02-15-all.tar.gz
```
The shared `home/` tree is copied first, then the selected theme's `home/` tree is copied over it. This keeps common configuration in one place while themes override colors and appearance.
## What the installer changes
The full installation performs these steps:
1. Installs apt packages (`--no-install-recommends`, with explicitly added essentials).
2. Installs `xfce-polkit` as the PolicyKit agent (from unstable on Debian 13 if necessary).
3. Patches `/usr/sbin/gparted` so root-started GParted uses the user's Wayland display.
4. Installs the bundled Qogir icons and downloads Nerd Font symbols.
5. Installs optional toolchains selected in the menu.
6. Backs up and copies dotfiles into `$HOME`, substituting `@HOME@` and `@NODE_BIN@`.
7. Configures Rusticl and/or the pixman renderer if selected.
8. Configures gnome-keyring, PAM, and the portal secret backend.
9. Applies GTK, icon, cursor, and font settings through GSettings/dconf.
10. Installs Flatpak apps (Firefox, Evince, Flatseal) from Flathub.
11. Writes `/etc/greetd/config.toml` and a polkit rule allowing the greeter to power off/reboot.
12. Enables NetworkManager, PipeWire, WirePlumber, and greetd.
13. Reloads the running session where possible and runs a final diagnostic check.
Where the installer modifies system configuration files, it keeps backups next to the original when applicable (for example `/etc/greetd/config.toml.bak.YYYYMMDD-HHMMSS`). User files are backed up under `~/Backups/desktop-setup-*`.
## Troubleshooting
### GTK applications show Adwaita icons
- Log out and back in — GTK caches the icon theme when applications start.
- Make sure the SVG loader is present: `sudo apt install librsvg2-common`.
- Re-run the installer (full installation or theme change) to restore the reference dconf database.
- Close conflicting XSETTINGS daemons (Xfce, GNOME) if they are running.
### GParted shows no window when started as root
Run the installer and choose **Patch GParted for Wayland only**, or manually:
```bash
./install.sh # option 3
```
### Keyring is not unlocked at login
Run option **4** in the installer, then log out and back in. Verify that `/etc/pam.d/greetd` contains `pam_gnome_keyring.so`.
### Black windows or graphics glitches in a VM
Enable the pixman renderer. The installer offers this automatically when it detects a virtual machine, or add to `~/.config/labwc/environment`:
```bash
WLR_RENDERER=pixman
```
Then log out and back in.
### Screen stays black after the display was turned off
Run `idle-action resume`. If the problem persists, check that the `resume` handlers in `~/.config/labwc/autostart` are intact.
### Waybar shows boxes instead of icons
The Nerd Font symbols are missing. Re-run the installer, or install the font manually and refresh the cache with `fc-cache -f`.
### The old login screen still appears
greetd was probably not enabled, or another display manager is still active:
```bash
systemctl status greetd
sudo systemctl enable greetd
sudo systemctl disable --now lightdm # or gdm3, sddm, ly
```
### fish is not the login shell
```bash
chsh -s /usr/bin/fish
```
Log out and back in afterwards.
### Volume or screenshot keys do nothing
This setup intentionally uses `Super`-based shortcuts instead of media keys. Use `Super+Shift+Up/Down` for volume and `Print` / `Shift+Print` for screenshots.
## Limitations
- **Debian/Debian-based only.** The package installation is apt-specific. Fedora, Arch, and others are unsupported.
- **Tested on Debian 13 (trixie)** with Mesa graphics and in virtual machines. Other combinations may need manual fixes.
- **Not a full desktop environment.** There is no graphical settings app; configuration is done in text files.
- **German defaults.** Keyboard layout, menu labels, and comments are German. Change `XKB_DEFAULT_LAYOUT` for a different keyboard.
- **No NVIDIA driver setup.** The installer provides the standard Mesa stack; proprietary NVIDIA configuration is left to the user.
- **No uninstaller.** User files can be restored from `~/Backups/desktop-setup-*`; system packages, files under `/etc`, and the GParted patch must be reverted manually.
- **The installer is interactive.** It does not support unattended or scripted installations.
- **Theme switching is not live.** GTK applications need a new login; greetd needs a reboot.
## Credits
This setup builds on the work of these projects:
- [labwc](https://github.com/labwc/labwc) — Wayland stacking compositor
- [Waybar](https://github.com/Alexays/Waybar) — status bar
- [fuzzel](https://codeberg.org/dnkl/fuzzel) — application launcher
- [kitty](https://github.com/kovidgoyal/kitty) and [foot](https://codeberg.org/dnkl/foot) — terminals
- [Qogir icon theme](https://github.com/vinceliuice/Qogir-icon-theme) by Vinceliuice
- [Arc theme](https://github.com/jnsh/arc-theme)
- [greetd](https://git.sr.ht/~kennylevinsen/greetd) and [tuigreet](https://github.com/apognu/tuigreet)
- [Nerd Fonts](https://www.nerdfonts.com/) and [JetBrains Mono](https://www.jetbrains.com/lp/mono/)
- The Debian project and the wider Wayland ecosystem
Binary file not shown.
Binary file not shown.
+56
View File
@@ -0,0 +1,56 @@
[org/gnome/Loupe]
show-properties=true
[org/gnome/desktop/interface]
color-scheme='prefer-dark'
cursor-size=24
cursor-theme='Qogir-Manjaro-Dark'
enable-animations=true
font-name='DejaVu Sans 9'
gtk-theme='Arc-Darker'
icon-theme='Qogir-Manjaro-Dark'
monospace-font-name='JetBrains Mono 10'
[org/gnome/desktop/wm/preferences]
button-layout='appmenu:minimize,maximize,close'
[org/gnome/eog/ui]
image-gallery=false
sidebar=false
[org/gtk/settings/file-chooser]
date-format='regular'
location-mode='path-bar'
show-hidden=false
show-size-column=true
show-type-column=true
sidebar-width=148
sort-column='name'
sort-directories-first=false
sort-order='ascending'
type-format='category'
window-position=(23, 15)
window-size=(990, 762)
[org/mate/engrampa/general]
unar-open-zip=false
[org/mate/engrampa/listing]
list-mode='as-folder'
show-path=false
sort-method='name'
sort-type='ascending'
[org/mate/engrampa/ui]
sidebar-width=200
window-height=480
window-width=885
[org/xfce/mousepad/state/application]
session=@as []
[org/xfce/mousepad/state/window]
fullscreen=false
height=uint32 689
maximized=false
width=uint32 1026
Binary file not shown.
+56
View File
@@ -0,0 +1,56 @@
[org/gnome/Loupe]
show-properties=true
[org/gnome/desktop/interface]
color-scheme='prefer-light'
cursor-size=24
cursor-theme='Qogir-Manjaro'
enable-animations=true
font-name='DejaVu Sans 9'
gtk-theme='Arc'
icon-theme='Qogir-Manjaro'
monospace-font-name='JetBrains Mono 10'
[org/gnome/desktop/wm/preferences]
button-layout='appmenu:minimize,maximize,close'
[org/gnome/eog/ui]
image-gallery=false
sidebar=false
[org/gtk/settings/file-chooser]
date-format='regular'
location-mode='path-bar'
show-hidden=false
show-size-column=true
show-type-column=true
sidebar-width=148
sort-column='name'
sort-directories-first=false
sort-order='ascending'
type-format='category'
window-position=(23, 15)
window-size=(990, 762)
[org/mate/engrampa/general]
unar-open-zip=false
[org/mate/engrampa/listing]
list-mode='as-folder'
show-path=false
sort-method='name'
sort-type='ascending'
[org/mate/engrampa/ui]
sidebar-width=200
window-height=480
window-width=885
[org/xfce/mousepad/state/application]
session=@as []
[org/xfce/mousepad/state/window]
fullscreen=false
height=uint32 689
maximized=false
width=uint32 1026
Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

+102
View File
@@ -0,0 +1,102 @@
# ~/.config/fish/config.fish
# Breeze-Dark-Farbschema für fish
# ---------- PATH ----------
# opencode
if test -d "$HOME/.opencode/bin"; and not contains -- "$HOME/.opencode/bin" $PATH
set -gx PATH "$HOME/.opencode/bin" $PATH
end
# Node.js (nvm)
# Standardversion aus ~/.nvm/alias/default ableiten, damit der Pfad auch
# nach einem nvm-Versionswechsel stimmt ("26", "v26.13.0", "lts/*").
set -gx NVM_DIR "$HOME/.nvm"
if test -d "$HOME/.nvm/versions/node"
set -l nvm_alias
if test -f "$HOME/.nvm/alias/default"
set nvm_alias (string trim < "$HOME/.nvm/alias/default")
end
# Verschachtelte Aliase wie lts/* -> lts/lithium -> v26.13.0 auflösen
for i in 1 2 3
test -n "$nvm_alias"; or break
test -f "$HOME/.nvm/alias/$nvm_alias"; or break
set nvm_alias (string trim < "$HOME/.nvm/alias/$nvm_alias")
end
set -l nvm_matches
if test -n "$nvm_alias"
for d in "$HOME"/.nvm/versions/node/v$nvm_alias.* "$HOME"/.nvm/versions/node/$nvm_alias
test -x "$d/bin/node"; and set -a nvm_matches $d
end
end
# Ohne auflösbaren Alias: neueste installierte Version nehmen
if test (count $nvm_matches) -eq 0
for d in "$HOME"/.nvm/versions/node/*/
test -x "$d/bin/node"; and set -a nvm_matches (string trim -r -c / -- $d)
end
end
if test (count $nvm_matches) -gt 0
set -l nvm_bin (printf '%s\n' $nvm_matches | sort -V | tail -n 1)/bin
if not contains -- "$nvm_bin" $PATH
set -gx PATH "$nvm_bin" $PATH
end
end
end
# Eigene Skripte
if test -d "$HOME/.local/bin"; and not contains -- "$HOME/.local/bin" $PATH
set -gx PATH "$HOME/.local/bin" $PATH
end
# Flatpak-Programme (z. B. org.mozilla.firefox)
for dir in /var/lib/flatpak/exports/bin "$HOME/.local/share/flatpak/exports/bin"
if test -d "$dir"; and not contains -- "$dir" $PATH
set -gx PATH $PATH "$dir"
end
end
# Systemwerkzeuge aus sbin (z. B. gparted, adduser, halt, blkid)
for dir in /usr/local/sbin /usr/sbin /sbin
if test -d "$dir"; and not contains -- "$dir" $PATH
set -gx PATH $PATH "$dir"
end
end
# ---------- X11 / XWayland ----------
# SSH-Sitzungen haben kein DISPLAY. labwc stellt XWayland auf :0 bereit,
# damit X11-Programme (als Benutzer) auf dem Desktop erscheinen.
# Für als root gestartete X11-Programme reicht DISPLAY nicht; GParted
# nutzt stattdessen die Wayland-Anzeige (siehe /usr/sbin/gparted).
if not set -q DISPLAY; and test -S /tmp/.X11-unix/X0
set -gx DISPLAY :0
end
if status is-interactive
set -gx EDITOR nano
set -gx VISUAL nano
set -gx PAGER less
set -gx MANPAGER 'less -R'
set -gx TERMINAL kitty
# Pfadanzeige im Prompt: vollständig, aber mit ~ abgekürzt
set -g fish_prompt_pwd_dir_length 0
# Farben stehen in ~/.config/fish/conf.d/10-theme.fish
# (wird vom Desktop-Theme hell/dunkel gesetzt)
# ---------- Abkürzungen ----------
abbr -a ls 'ls --color=auto'
abbr -a ll 'ls -lah --color=auto'
abbr -a la 'ls -A --color=auto'
abbr -a lt 'ls -lah --color=auto --sort=time'
abbr -a .. 'cd ..'
abbr -a ... 'cd ../..'
abbr -a c clear
abbr -a df 'df -h'
abbr -a free 'free -h'
abbr -a ff fastfetch
abbr -a files thunar
abbr -a reload 'pkill -HUP -x labwc'
abbr -a session session-menu
end
@@ -0,0 +1,12 @@
function fish_greeting
if status is-login
set_color $theme_muted
echo " Willkommen, $USER."
echo " Desktop starten: "
set_color $theme_accent
echo -n " startlabwc"
set_color $theme_muted
echo " (nur auf der lokalen Konsole)"
set_color normal
end
end
@@ -0,0 +1,36 @@
function fish_prompt
set -l last_status $status
set -l normal (set_color $theme_normal)
set -l dim (set_color $theme_muted)
set -l accent (set_color $theme_accent)
set -l red (set_color $theme_danger)
set -l green (set_color $theme_success)
# Erste Zeile: ╭─ [user@host] ~/pfad on branch
echo -n "$dim╭─$normal"
if set -q SSH_CONNECTION
echo -n " $dim$USER@"(prompt_hostname)"$normal"
end
echo -n " $accent"(prompt_pwd)$normal
if command -q git
set -l branch (command git symbolic-ref --short HEAD 2>/dev/null)
if test -z "$branch"
set branch (command git rev-parse --short HEAD 2>/dev/null)
end
if test -n "$branch"
echo -n " $dim"on"$normal $green$branch$normal"
end
end
echo
# Zweite Zeile: ╰─❯
if test $last_status -ne 0
echo -n "$dim╰─$red❯$normal "
else
echo -n "$dim╰─$accent❯$normal "
end
end
@@ -0,0 +1,4 @@
function fish_right_prompt
set -l dim (set_color $theme_muted)
echo -n "$dim"(date '+%H:%M')" "(set_color normal)
end
@@ -0,0 +1,24 @@
function startlabwc --description 'Startet labwc auf der lokalen Konsole'
if set -q WAYLAND_DISPLAY
set_color $theme_danger
echo "Wayland läuft bereits (WAYLAND_DISPLAY=$WAYLAND_DISPLAY)."
set_color normal
return 1
end
# QEMU/bochs-drm: kein OpenGL, keine Hardware-Cursor
set -lx WLR_RENDERER pixman
set -lx WLR_NO_HARDWARE_CURSORS 1
set -lx XKB_DEFAULT_LAYOUT de
set -lx XDG_SESSION_TYPE wayland
set_color $theme_muted
echo "Starte labwc (pixman, Software-Rendering) ..."
set_color normal
if command -q dbus-run-session
exec dbus-run-session -- labwc
else
exec labwc
end
end
+53
View File
@@ -0,0 +1,53 @@
# kitty – gemeinsame Einstellungen für Breeze Dark/Light
# Die Farben stehen in theme.conf und werden vom Desktop-Theme ersetzt.
font_family JetBrains Mono
font_size 10
bold_font auto
italic_font auto
bold_italic_font auto
# Shell: fish. Die Login-Shell wird zusätzlich einmalig per chsh gesetzt.
shell /usr/bin/fish
cursor_shape beam
cursor_blink_interval 0
scrollback_lines 10000
# foot-Padding 12x9 px optisch übernommen (kitty rechnet in pt)
window_padding_width 9 12
# Startgröße wie bei foot, Größe nicht dauerhaft merken
remember_window_size no
initial_window_width 1100
initial_window_height 680
# Ghostty-artige Splits: kitty startet direkt im splits-Layout.
# (Das Standard-Layout "fat" würde vsplit/hsplit ignorieren.)
enabled_layouts splits
# Neues Fenster rechts daneben (vertikale Trennlinie)
map ctrl+shift+enter launch --location=vsplit --cwd=current
# Neues Fenster darunter (horizontale Trennlinie)
map ctrl+shift+alt+enter launch --location=hsplit --cwd=current
# Alternativ mit Pfeiltasten (gleiche Aktion)
map ctrl+shift+alt+right launch --location=vsplit --cwd=current
map ctrl+shift+alt+down launch --location=hsplit --cwd=current
# Tabs (kitty-Standard):
# ctrl+shift+t neuer Tab
# ctrl+shift+q Tab schließen
# ctrl+shift+left/right Tab wechseln
# ctrl+shift+l Layout wechseln (hier nur "splits")
#
# Fenster/Splits:
# ctrl+shift+w Fenster schließen
# ctrl+shift+] / [ nächstes/vorheriges Fenster
# ctrl+shift+r Größe ändern (Pfeiltasten), Enter beendet
# Tab-Leiste oben, erst ab zwei Tabs sichtbar
tab_bar_edge top
tab_bar_style fade
tab_bar_min_tabs 2
include theme.conf
+33
View File
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu>
<menu id="root-menu">
<item label="Terminal">
<action name="Execute" command="kitty" />
</item>
<item label="Dateien">
<action name="Execute" command="thunar" />
</item>
<item label="Anwendungen">
<action name="Execute" command="fuzzel" />
</item>
<item label="Screenshot (Bereich)">
<action name="Execute" command="screenshot region" />
</item>
<item label="Screenshot (ganzer Bildschirm)">
<action name="Execute" command="screenshot full" />
</item>
<separator />
<item label="Sitzung">
<action name="Execute" command="session-menu" />
</item>
<item label="Neu laden">
<action name="Reconfigure" />
</item>
<separator />
<item label="labwc beenden">
<action name="Exit" />
</item>
</menu>
</openbox_menu>
+206
View File
@@ -0,0 +1,206 @@
<?xml version="1.0"?>
<!--
labwc – minimaler, dunkler Desktop
Farben: Breeze-Dark-Anlehnung
Hintergrund #1b1e20
Text #eff0f1
Akzent #3daee9
-->
<labwc_config>
<core>
<decoration>server</decoration>
<gap>0</gap>
<adaptiveSync>no</adaptiveSync>
<allowTearing>no</allowTearing>
<autoEnableOutputs>yes</autoEnableOutputs>
<reuseOutputMode>yes</reuseOutputMode>
</core>
<placement>
<policy>cascade</policy>
</placement>
<theme>
<cornerRadius>8</cornerRadius>
<keepBorder>yes</keepBorder>
<dropShadows>yes</dropShadows>
<titlebar>
<layout>icon:iconify,max,close</layout>
<showTitle>yes</showTitle>
</titlebar>
<font place="ActiveWindow">
<name>DejaVu Sans</name>
<size>10</size>
<weight>bold</weight>
</font>
<font place="InactiveWindow">
<name>DejaVu Sans</name>
<size>10</size>
</font>
<font place="MenuHeader">
<name>DejaVu Sans</name>
<size>10</size>
</font>
<font place="MenuItem">
<name>DejaVu Sans</name>
<size>10</size>
</font>
<font place="OnScreenDisplay">
<name>DejaVu Sans</name>
<size>10</size>
</font>
</theme>
<desktops>
<number>4</number>
<popupTime>500</popupTime>
<prefix>Desktop</prefix>
</desktops>
<windowSwitcher show="yes" preview="yes" outlines="yes" allWorkspaces="no">
<fields>
<field content="type" width="20%" />
<field content="trimmed_identifier" width="30%" />
<field content="title" width="50%" />
</fields>
</windowSwitcher>
<keyboard>
<default />
<repeatRate>30</repeatRate>
<repeatDelay>500</repeatDelay>
<!-- Terminal / Launcher / Menü -->
<keybind key="W-Return">
<action name="Execute" command="kitty" />
</keybind>
<keybind key="W-d">
<action name="Execute" command="fuzzel" />
</keybind>
<keybind key="W-e">
<action name="Execute" command="thunar" />
</keybind>
<keybind key="W-space">
<action name="Execute" command="fuzzel" />
</keybind>
<keybind key="W-Menu">
<action name="ShowMenu" menu="root-menu" />
</keybind>
<!-- Fenster -->
<keybind key="W-q">
<action name="Close" />
</keybind>
<keybind key="W-m">
<action name="ToggleMaximize" />
</keybind>
<keybind key="W-f">
<action name="ToggleFullscreen" />
</keybind>
<keybind key="W-a">
<action name="ToggleAlwaysOnTop" />
</keybind>
<keybind key="W-Tab">
<action name="NextWindow" />
</keybind>
<keybind key="W-S-Tab">
<action name="PreviousWindow" />
</keybind>
<!-- Fenster an Bildschirmkanten andocken -->
<keybind key="W-Left">
<action name="ToggleSnapToEdge" direction="left" />
</keybind>
<keybind key="W-Right">
<action name="ToggleSnapToEdge" direction="right" />
</keybind>
<keybind key="W-Up">
<action name="ToggleSnapToEdge" direction="up" />
</keybind>
<keybind key="W-Down">
<action name="ToggleSnapToEdge" direction="down" />
</keybind>
<!-- Virtuelle Desktops -->
<keybind key="W-1">
<action name="GoToDesktop" to="1" />
</keybind>
<keybind key="W-2">
<action name="GoToDesktop" to="2" />
</keybind>
<keybind key="W-3">
<action name="GoToDesktop" to="3" />
</keybind>
<keybind key="W-4">
<action name="GoToDesktop" to="4" />
</keybind>
<keybind key="W-S-1">
<action name="SendToDesktop" to="1" follow="yes" />
</keybind>
<keybind key="W-S-2">
<action name="SendToDesktop" to="2" follow="yes" />
</keybind>
<keybind key="W-S-3">
<action name="SendToDesktop" to="3" follow="yes" />
</keybind>
<keybind key="W-S-4">
<action name="SendToDesktop" to="4" follow="yes" />
</keybind>
<!-- Aktives Fenster eine Arbeitsfläche weiter schieben -->
<keybind key="W-S-Left">
<action name="SendToDesktop" to="left" follow="yes" wrap="yes" />
</keybind>
<keybind key="W-S-Right">
<action name="SendToDesktop" to="right" follow="yes" wrap="yes" />
</keybind>
<!-- Lautstärke (keine Medientasten nötig) -->
<keybind key="W-S-Up">
<action name="Execute" command="wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" />
</keybind>
<keybind key="W-S-Down">
<action name="Execute" command="wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" />
</keybind>
<keybind key="W-S-m">
<action name="Execute" command="wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" />
</keybind>
<!-- Screenshots -->
<keybind key="Print">
<action name="Execute" command="screenshot full" />
</keybind>
<keybind key="S-Print">
<action name="Execute" command="screenshot region" />
</keybind>
<keybind key="W-S-s">
<action name="Execute" command="screenshot region" />
</keybind>
<!-- Bildschirm sperren -->
<keybind key="W-l">
<action name="Execute" command="idle-action lock-now" />
</keybind>
<!-- Sitzung / Konfiguration -->
<keybind key="W-x">
<action name="Execute" command="session-menu" />
</keybind>
<keybind key="W-r">
<action name="Reconfigure" />
</keybind>
<keybind key="W-S-q">
<action name="Execute" command="session-menu" />
</keybind>
</keyboard>
<mouse>
<default />
<context name="Root">
<mousebind button="Right" action="Press">
<action name="ShowMenu" menu="root-menu" />
</mousebind>
</context>
</mouse>
</labwc_config>
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# labwc – Shutdown: laufende Panel-/Hintergrundprozesse sauber beenden.
pkill -TERM -x waybar >/dev/null 2>&1
pkill -TERM -x mako >/dev/null 2>&1
pkill -TERM -x swaybg >/dev/null 2>&1
exit 0
+25
View File
@@ -0,0 +1,25 @@
[Default Applications]
image/png=org.gnome.Loupe.desktop
image/jpeg=org.gnome.Loupe.desktop
image/gif=org.gnome.Loupe.desktop
image/webp=org.gnome.Loupe.desktop
image/bmp=org.gnome.Loupe.desktop
image/tiff=org.gnome.Loupe.desktop
image/svg+xml=org.gnome.Loupe.desktop
application/pdf=org.gnome.Evince.desktop
x-scheme-handler/http=org.mozilla.firefox.desktop
x-scheme-handler/https=org.mozilla.firefox.desktop
text/html=org.mozilla.firefox.desktop
[Added Associations]
image/png=org.gnome.Loupe.desktop;
image/jpeg=org.gnome.Loupe.desktop;
image/gif=org.gnome.Loupe.desktop;
image/webp=org.gnome.Loupe.desktop;
image/bmp=org.gnome.Loupe.desktop;
image/tiff=org.gnome.Loupe.desktop;
image/svg+xml=org.gnome.Loupe.desktop;
application/pdf=org.gnome.Evince.desktop;
x-scheme-handler/http=org.mozilla.firefox.desktop;
x-scheme-handler/https=org.mozilla.firefox.desktop;
text/html=org.mozilla.firefox.desktop;
+107
View File
@@ -0,0 +1,107 @@
{
"layer": "top",
"position": "bottom",
"height": 34,
"spacing": 3,
"exclusive": true,
"reload_style_on_change": true,
"modules-left": [
"custom/launcher",
"wlr/taskbar"
],
"modules-center": [],
"modules-right": [
"tray",
"network",
"wireplumber",
"cpu",
"memory",
"custom/session",
"clock"
],
"custom/launcher": {
"format": "☰",
"tooltip": true,
"tooltip-format": "Anwendungen (Super+D)",
"on-click": "fuzzel"
},
"wlr/taskbar": {
"all-outputs": true,
"format": "{icon}",
"icon-size": 16,
"sort-by-app-id": true,
"icon-theme": ["Qogir-Manjaro-Dark", "Adwaita"],
"tooltip": true,
"tooltip-format": "{name}\n{title}",
"on-click": "minimize-raise",
"on-click-middle": "close",
"on-click-right": "minimize-raise"
},
"clock": {
"interval": 30,
"format": "{:%H:%M}",
"tooltip": true,
"tooltip-format": "{:%d.%m.%Y}"
},
"tray": {
"icon-size": 16,
"spacing": 8,
"show-passive-items": true
},
"network": {
"interval": 5,
"align": 0.5,
"justify": "center",
"format-wifi": "\uf1eb {signalStrength}%",
"format-ethernet": "\udb80\udf17 LAN",
"format-disconnected": "\uf05e offline",
"tooltip": true,
"tooltip-format-wifi": "{ifname} · {essid} · {signalStrength}%",
"tooltip-format-ethernet": "{ifname} · {ipaddr}",
"tooltip-format-disconnected": "Keine Verbindung"
},
"cpu": {
"interval": 3,
"align": 0.5,
"justify": "center",
"format": "\uf2db {usage}%",
"tooltip": false
},
"wireplumber": {
"align": 0.5,
"justify": "center",
"format": "\uf028 {volume}%",
"format-muted": "\uf026",
"tooltip": true,
"tooltip-format": "{node_name} · {volume}%",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"scroll-step": 5.0,
"max-volume": 100.0
},
"memory": {
"interval": 5,
"align": 0.5,
"justify": "center",
"format": "\udb80\udf5b {percentage}%",
"tooltip": true,
"tooltip-format": "{used:0.1f} GiB / {total:0.1f} GiB"
},
"custom/session": {
"format": "⚙",
"tooltip": true,
"tooltip-format": "Sitzung (Super+X)",
"on-click": "session-menu"
}
}
@@ -0,0 +1,5 @@
# labwc: gnome-keyring als Secret-Backend für Flatpak-Apps (z. B. Element)
[preferred]
default=wlr;*
org.freedesktop.impl.portal.Inhibit=none
org.freedesktop.impl.portal.Secret=gnome-keyring
+5
View File
@@ -0,0 +1,5 @@
# XFCE/exo – bevorzugte Anwendungen
# Wird u. a. von Thunar („Ordner im Terminal öffnen“) und exo-open gelesen.
# Kein [Default]-Header: exo setzt ihn selbst vor den Dateiinhalt.
TerminalEmulator=kitty
+131
View File
@@ -0,0 +1,131 @@
#!/bin/sh
# greeter-theme – trägt das tuigreet-Theme in /etc/greetd/config.toml ein.
#
# Aufruf:
# greeter-theme nur schreiben, aktiv beim nächsten Login/Neustart
# greeter-theme --restart greetd sofort neu starten (beendet ggf. die Sitzung!)
#
# Das Theme selbst steht in ~/.config/tuigreet/theme.conf.
set -eu
usage() {
cat <<'EOF'
Aufruf: greeter-theme [--restart]
Ohne --restart wird nur /etc/greetd/config.toml geschrieben und ein Backup
der alten Datei angelegt. Das neue Theme greift nach dem nächsten Neustart
(oder nach einem Neustart von greetd).
EOF
}
restart=0
for arg in "$@"; do
case "$arg" in
--restart) restart=1 ;;
-h|--help) usage; exit 0 ;;
*) echo "Unbekannte Option: $arg" >&2; usage >&2; exit 2 ;;
esac
done
# Ohne Root automatisch über sudo erneut starten.
if [ "$(id -u)" -ne 0 ]; then
self=$(command -v "$0" 2>/dev/null || true)
[ -n "$self" ] || self=$0
self=$(readlink -f "$self")
exec sudo -- "$self" "$@"
fi
# Home des aufrufenden Benutzers ermitteln (auch unter sudo).
user=${SUDO_USER:-$(id -un)}
if [ "$user" = root ]; then
home=/root
else
home=$(getent passwd "$user" | cut -d: -f6)
fi
theme_file="$home/.config/tuigreet/theme.conf"
conf=/etc/greetd/config.toml
if [ ! -r "$theme_file" ]; then
echo "Fehlt: $theme_file" >&2
exit 1
fi
theme=$(tr -d '\n' < "$theme_file")
# Nur harmlose Zeichen für den TOML-String zulassen.
if [ -z "$theme" ] || printf '%s' "$theme" | LC_ALL=C grep -q '[^A-Za-z0-9=;.#_-]'; then
echo "Ungültiges Theme in $theme_file" >&2
exit 1
fi
# Backup der bestehenden Konfiguration
stamp=$(date +%Y%m%d-%H%M%S)
if [ -f "$conf" ]; then
cp -a "$conf" "$conf.bak.$stamp"
echo "Backup: $conf.bak.$stamp"
fi
umask 022
cat > "$conf" <<EOF
# greetd – verwaltet von greeter-theme
# Stand: $(date '+%Y-%m-%d %H:%M:%S')
[terminal]
vt = 7
[default_session]
command = "tuigreet --time --remember --remember-session --cmd labwc --power-shutdown '/usr/bin/systemctl poweroff' --power-reboot '/usr/bin/systemctl reboot' --theme '$theme'"
user = "_greetd"
EOF
chmod 644 "$conf"
echo "Geschrieben: $conf"
# Shutdown/Reboot im Greeter.
#
# tuigreet startet die Standardbefehle "shutdown -h now" bzw.
# "shutdown -r now". Beide liegen in /usr/sbin und rufen intern
# systemctl auf. Der Greeter läuft als _greetd in keiner aktiven
# logind-Sitzung; deshalb verweigert polkit die Aktion, obwohl
# allow_active=yes gesetzt ist. Absolute Pfade umgehen das PATH-Problem,
# die Regel erlaubt _greetd genau die beiden Power-Aktionen.
polkit_rule=/etc/polkit-1/rules.d/49-greetd-power.rules
if [ -d /etc/polkit-1/rules.d ]; then
if [ -f "$polkit_rule" ]; then
cp -a "$polkit_rule" "$polkit_rule.bak.$stamp"
echo "Backup: $polkit_rule.bak.$stamp"
fi
cat > "$polkit_rule" <<'EOF'
// Erlaubt dem Greeter-Benutzer _greetd, das System herunterzufahren
// oder neu zu starten. Der Greeter läuft in keiner aktiven logind-
// Sitzung; die Standardregel (allow_active=yes) greift daher nicht.
polkit.addRule(function(action, subject) {
if (subject.user != "_greetd")
return;
if (action.id == "org.freedesktop.login1.power-off" ||
action.id == "org.freedesktop.login1.power-off-multiple-sessions" ||
action.id == "org.freedesktop.login1.reboot" ||
action.id == "org.freedesktop.login1.reboot-multiple-sessions") {
return polkit.Result.YES;
}
});
EOF
chmod 644 "$polkit_rule"
echo "Geschrieben: $polkit_rule"
else
echo "Hinweis: /etc/polkit-1/rules.d fehlt – Power-Aktionen bleiben gesperrt." >&2
fi
if [ "$restart" -eq 1 ]; then
echo
echo "WARNUNG: Ein Neustart von greetd kann die laufende Sitzung beenden."
systemctl restart greetd
else
echo
echo "Aktiv nach dem nächsten Neustart."
echo "Sofort anwenden (beendet ggf. die laufende Sitzung):"
echo " sudo systemctl restart greetd"
fi
+145
View File
@@ -0,0 +1,145 @@
#!/bin/sh
# idle-action – Aktionen für swayidle, mit Rücksicht auf Medienwiedergabe.
#
# idle-action lock sperrt den Bildschirm, wartet aber, solange
# Audio/Video über PipeWire läuft
# idle-action lock-now sperrt sofort (für before-sleep/logind-Lock)
# idle-action dpms-off schaltet den Monitor aus, ebenfalls erst wenn
# keine Medienwiedergabe mehr läuft
# idle-action suspend versetzt den Rechner in Ruhezustand (Suspend),
# ebenfalls erst wenn keine Medienwiedergabe läuft
# idle-action resume bricht wartende Aktionen ab und schaltet den
# Monitor wieder ein
# idle-action cancel bricht wartende Aktionen ab
set -u
state_dir="${XDG_RUNTIME_DIR:-/tmp}/idle-action-$(id -u)"
mkdir -p "$state_dir" 2>/dev/null || true
media_playing() {
# Ist der Bildschirm bereits gesperrt, soll laufendes Audio den
# Monitor nicht dauerhaft anlassen.
pgrep -x swaylock >/dev/null 2>&1 && return 1
command -v pw-dump >/dev/null 2>&1 || return 1
command -v python3 >/dev/null 2>&1 || return 1
pw-dump 2>/dev/null | python3 -c '
import json, sys
try:
nodes = json.load(sys.stdin)
except Exception:
sys.exit(1)
for node in nodes:
if node.get("type") != "PipeWire:Interface:Node":
continue
info = node.get("info") or {}
props = info.get("props") or {}
if props.get("media.class", "").startswith("Stream/Output/") \
and info.get("state") == "running":
sys.exit(0)
sys.exit(1)
'
}
cancel_pending() {
for pidfile in "$state_dir"/*.pid; do
[ -f "$pidfile" ] || continue
kill "$(cat "$pidfile")" 2>/dev/null || true
rm -f "$pidfile"
done
}
outputs() {
wlr-randr --json 2>/dev/null | python3 -c '
import json, sys
try:
data = json.load(sys.stdin)
except Exception:
sys.exit(0)
for output in data:
name = output.get("name")
if name:
print(name)
'
}
display_on() {
if command -v wlopm >/dev/null 2>&1; then
wlopm --on '*' >/dev/null 2>&1 || true
elif command -v wlr-randr >/dev/null 2>&1; then
outputs | while IFS= read -r output; do
wlr-randr --output "$output" --on >/dev/null 2>&1 || true
done
fi
}
display_off() {
if command -v wlopm >/dev/null 2>&1; then
wlopm --off '*' >/dev/null 2>&1 || true
elif command -v wlr-randr >/dev/null 2>&1; then
outputs | while IFS= read -r output; do
wlr-randr --output "$output" --off >/dev/null 2>&1 || true
done
fi
}
wait_for_media() {
while media_playing; do
sleep 5
done
# Kurze Schonfrist: startet die Wiedergabe gleich wieder, weiter warten.
sleep 2
media_playing && return 1
return 0
}
lock_now() {
# Nur eine Instanz starten. swaylock beendet sich bei
# ext-session-lock ohnehin selbst, wenn bereits gesperrt ist.
pgrep -x swaylock >/dev/null 2>&1 || swaylock -f
}
run_action() {
action=$1
pidfile="$state_dir/$action.pid"
if [ -f "$pidfile" ]; then
kill "$(cat "$pidfile")" 2>/dev/null || true
rm -f "$pidfile"
fi
(
trap 'rm -f "$pidfile"' EXIT
wait_for_media || exit 0
rm -f "$pidfile"
case "$action" in
lock)
lock_now
;;
dpms-off)
display_off
;;
suspend)
systemctl suspend
;;
esac
) &
echo $! > "$pidfile"
}
case "${1:-}" in
lock|dpms-off|suspend) run_action "$1" ;;
lock-now) lock_now ;;
resume)
cancel_pending
display_on
;;
cancel)
cancel_pending
;;
*)
echo "Aufruf: idle-action lock|lock-now|dpms-off|suspend|resume|cancel" >&2
exit 2
;;
esac
+50
View File
@@ -0,0 +1,50 @@
#!/bin/sh
# screenshot – Bildschirmfoto unter labwc (Wayland)
# Benötigt: grim, slurp, wl-clipboard (optional: libnotify-bin)
set -eu
mode="${1:-full}"
dir="${XDG_PICTURES_DIR:-$HOME/Bilder}/Screenshots"
mkdir -p "$dir"
file="$dir/$(date +%Y-%m-%d_%H-%M-%S).png"
need() {
if ! command -v "$1" >/dev/null 2>&1; then
echo "screenshot: '$1' fehlt." >&2
echo "Installieren mit: sudo apt install grim slurp wl-clipboard" >&2
exit 1
fi
}
need grim
case "$mode" in
full)
grim "$file"
;;
region)
need slurp
geom="$(slurp)" || exit 0
grim -g "$geom" "$file"
;;
output)
need slurp
geom="$(slurp -o -r)" || exit 0
grim -g "$geom" "$file"
;;
*)
echo "Verwendung: screenshot [full|region|output]" >&2
exit 2
;;
esac
# In die Zwischenablage kopieren
if command -v wl-copy >/dev/null 2>&1; then
wl-copy --type image/png < "$file"
fi
# Kurze Benachrichtigung, falls libnotify vorhanden ist
if command -v notify-send >/dev/null 2>&1; then
notify-send -a Screenshot "Screenshot gespeichert" "$file"
fi
+54
View File
@@ -0,0 +1,54 @@
#!/usr/bin/env bash
# Sitzungsmenü für labwc (fuzzel --dmenu)
set -uo pipefail
if ! command -v fuzzel >/dev/null 2>&1; then
echo "fuzzel ist nicht installiert." >&2
exit 1
fi
choice=$(
printf '%s\n' \
"Bildschirm sperren" \
"Standby (Ruhezustand)" \
"labwc neu laden" \
"labwc beenden" \
"Neu starten" \
"Herunterfahren" \
"Abbrechen" |
fuzzel --dmenu --prompt='Sitzung ' --lines=7 --width=26 --anchor=center
) || exit 0
lock_now() {
if command -v idle-action >/dev/null 2>&1; then
idle-action lock-now
else
pgrep -x swaylock >/dev/null 2>&1 || swaylock -f
fi
}
case "$choice" in
"Bildschirm sperren")
lock_now
;;
"Standby (Ruhezustand)")
lock_now
systemctl suspend
;;
"labwc neu laden")
pkill -HUP -x labwc
;;
"labwc beenden")
pkill -TERM -x labwc
;;
"Neu starten")
systemctl reboot
;;
"Herunterfahren")
systemctl poweroff
;;
*)
exit 0
;;
esac
+165
View File
@@ -0,0 +1,165 @@
#!/usr/bin/env python3
"""Setzt Icon-, GTK-, Cursor- und Schrift-Einstellungen über GSettings.
Aufruf:
set-gtk-settings [dark|light]
Standard ist ``dark``. Hintergrund: Unter Wayland (labwc/sway) liest GDK/GTK
die Einstellungen über das XDG-Desktop-Portal aus
``org.gnome.desktop.interface``. Eine ``~/.config/gtk-3.0/settings.ini``
allein wird von GDK überschrieben, sobald das Portal erreichbar ist.
Das Skript braucht keine ``gsettings``-CLI; es nutzt libgio direkt über
ctypes. Es ist idempotent und kann jederzeit erneut ausgeführt werden.
"""
import ctypes as C
import sys
SCHEMA = b"org.gnome.desktop.interface"
WM_SCHEMA = b"org.gnome.desktop.wm.preferences"
BUTTON_LAYOUT = "appmenu:minimize,maximize,close"
THEMES = {
"dark": {
"icon-theme": "Qogir-Manjaro-Dark",
"gtk-theme": "Arc-Darker",
"cursor-theme": "Qogir-Manjaro-Dark",
"color-scheme": "prefer-dark",
},
"light": {
"icon-theme": "Qogir-Manjaro",
"gtk-theme": "Arc",
"cursor-theme": "Qogir-Manjaro",
"color-scheme": "prefer-light",
},
}
STRINGS = {
"font-name": "DejaVu Sans 9",
"monospace-font-name": "JetBrains Mono 10",
}
INTS = {
"cursor-size": 24,
}
BOOLS = {
"enable-animations": True,
}
def load_libs():
gio = C.CDLL("libgio-2.0.so.0")
glib = C.CDLL("libglib-2.0.so.0")
gio.g_settings_new.argtypes = [C.c_char_p]
gio.g_settings_new.restype = C.c_void_p
gio.g_settings_get_string.argtypes = [C.c_void_p, C.c_char_p]
gio.g_settings_get_string.restype = C.c_void_p
gio.g_settings_set_string.argtypes = [C.c_void_p, C.c_char_p, C.c_char_p]
gio.g_settings_set_string.restype = C.c_int
gio.g_settings_get_int.argtypes = [C.c_void_p, C.c_char_p]
gio.g_settings_get_int.restype = C.c_int
gio.g_settings_set_int.argtypes = [C.c_void_p, C.c_char_p, C.c_int]
gio.g_settings_set_int.restype = C.c_int
gio.g_settings_get_boolean.argtypes = [C.c_void_p, C.c_char_p]
gio.g_settings_get_boolean.restype = C.c_int
gio.g_settings_set_boolean.argtypes = [C.c_void_p, C.c_char_p, C.c_int]
gio.g_settings_set_boolean.restype = C.c_int
gio.g_settings_sync.argtypes = []
gio.g_settings_sync.restype = None
glib.g_free.argtypes = [C.c_void_p]
glib.g_free.restype = None
return gio, glib
def get_string(gio, glib, settings, key):
ptr = gio.g_settings_get_string(settings, key.encode())
if not ptr:
return None
value = C.cast(ptr, C.c_char_p).value.decode()
glib.g_free(ptr)
return value
def main():
mode = sys.argv[1] if len(sys.argv) > 1 else "dark"
if mode in ("-h", "--help"):
print("Aufruf: set-gtk-settings [dark|light]", file=sys.stderr)
return 0
if mode not in THEMES:
print(f"Unbekanntes Design: {mode!r} (erlaubt: dark, light)", file=sys.stderr)
return 2
strings = dict(STRINGS)
strings.update(THEMES[mode])
gio, glib = load_libs()
settings = gio.g_settings_new(SCHEMA)
if not settings:
print(f"FEHLER: Schema {SCHEMA.decode()} nicht gefunden.", file=sys.stderr)
return 1
wm_settings = gio.g_settings_new(WM_SCHEMA)
if not wm_settings:
print(f"FEHLER: Schema {WM_SCHEMA.decode()} nicht gefunden.", file=sys.stderr)
return 1
failed = False
print(f"== Design: {mode} ==")
print("== Vorher ==")
for key in strings:
print(f" {key:22} = {get_string(gio, glib, settings, key)!r}")
for key in INTS:
print(f" {key:22} = {gio.g_settings_get_int(settings, key.encode())}")
for key in BOOLS:
print(f" {key:22} = {bool(gio.g_settings_get_boolean(settings, key.encode()))}")
print(f" {'button-layout':22} = {get_string(gio, glib, wm_settings, 'button-layout')!r}")
print("\n== Setzen ==")
for key, value in strings.items():
ok = bool(gio.g_settings_set_string(settings, key.encode(), value.encode()))
print(f" {key:22} = {value!r} {'OK' if ok else 'FEHLER'}")
failed |= not ok
for key, value in INTS.items():
ok = bool(gio.g_settings_set_int(settings, key.encode(), value))
print(f" {key:22} = {value} {'OK' if ok else 'FEHLER'}")
failed |= not ok
for key, value in BOOLS.items():
ok = bool(gio.g_settings_set_boolean(settings, key.encode(), int(value)))
print(f" {key:22} = {value} {'OK' if ok else 'FEHLER'}")
failed |= not ok
ok = bool(gio.g_settings_set_string(wm_settings, b"button-layout",
BUTTON_LAYOUT.encode()))
print(f" {'button-layout':22} = {BUTTON_LAYOUT!r} {'OK' if ok else 'FEHLER'}")
failed |= not ok
gio.g_settings_sync()
print("\n== Nachher ==")
for key in strings:
print(f" {key:22} = {get_string(gio, glib, settings, key)!r}")
for key in INTS:
print(f" {key:22} = {gio.g_settings_get_int(settings, key.encode())}")
for key in BOOLS:
print(f" {key:22} = {bool(gio.g_settings_get_boolean(settings, key.encode()))}")
print(f" {'button-layout':22} = {get_string(gio, glib, wm_settings, 'button-layout')!r}")
if failed:
print("\nMindestens ein Wert konnte nicht gesetzt werden.", file=sys.stderr)
return 1
print("\nFertig. Waybar/Thunar neu starten, damit die Icons sofort aktualisiert werden:")
print(" killall waybar thunar 2>/dev/null; waybar & thunar --daemon &")
return 0
if __name__ == "__main__":
raise SystemExit(main())
+67
View File
@@ -0,0 +1,67 @@
#!/usr/bin/env bash
# update-gtk4-dark-css – erzeugt die GTK4-User-CSS für Arc-Dark.
#
# GTK3 bleibt auf Arc-Darker (dunkle Kopfleisten, helle Inhaltsflächen).
# GTK4-Programme (inkl. libadwaita) laden dagegen Arc-Dark über
# ~/.config/gtk-4.0/gtk.css. Die CSS wird aus dem installierten
# Arc-Theme extrahiert, damit sie bei Theme-Updates mitwandert.
set -Eeuo pipefail
config_home=${XDG_CONFIG_HOME:-$HOME/.config}
dest="$config_home/gtk-4.0/arc-dark"
gtk_css="$config_home/gtk-4.0/gtk.css"
theme=""
for candidate in /usr/share/themes/Arc-Dark/gtk-4.0 \
/usr/share/themes/Arc-Darker/gtk-4.0; do
if [ -f "$candidate/gtk.gresource" ]; then
theme=$candidate
break
fi
done
if [ -z "$theme" ]; then
echo "Fehler: Arc-Dark/Arc-Darker (GTK4) nicht gefunden." >&2
exit 1
fi
command -v gresource >/dev/null 2>&1 || {
echo "Fehler: gresource fehlt (Paket libglib2.0-bin)." >&2
exit 1
}
resource=/org/gnome/arc-theme/gtk-main-dark.css
if ! gresource list "$theme/gtk.gresource" | grep -Fqx "$resource"; then
echo "Fehler: $resource fehlt in $theme/gtk.gresource." >&2
exit 1
fi
tmp=$(mktemp -d)
trap 'rm -rf "$tmp"' EXIT
mkdir -p "$tmp/assets"
gresource extract "$theme/gtk.gresource" "$resource" > "$tmp/gtk-main-dark.css"
while IFS= read -r r; do
case "$r" in
*/assets/*)
gresource extract "$theme/gtk.gresource" "$r" > "$tmp/assets/${r##*/}"
;;
esac
done < <(gresource list "$theme/gtk.gresource")
install -d "$config_home/gtk-4.0"
rm -rf "$dest"
mv "$tmp" "$dest"
trap - EXIT
cat > "$gtk_css" <<'EOF'
/* GTK4: Arc-Dark für alle GTK4-Programme.
* GTK3 bleibt bewusst auf Arc-Darker (siehe gtk-3.0/settings.ini).
* Die Datei arc-dark/gtk-main-dark.css wird von
* ~/.local/bin/update-gtk4-dark-css aus dem Arc-Theme erzeugt.
*/
@import url("arc-dark/gtk-main-dark.css");
EOF
echo "GTK4-User-CSS geschrieben: $gtk_css"
echo "Arc-Dark-CSS: $dest/gtk-main-dark.css (aus $theme)"
Executable
+2330
View File
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,3 @@
GTK_THEME=Arc-Darker
XCURSOR_THEME=Qogir-Manjaro-Dark
XCURSOR_SIZE=24
@@ -0,0 +1,34 @@
# ~/.config/fish/conf.d/10-theme.fish
# Breeze-Dark-Farbschema – wird vom Desktop-Theme gesetzt.
# Bei einem Theme-Wechsel ersetzt das Installationsskript diese Datei.
# GTK-Programme aus dieser Shell im passenden Design starten
set -gx GTK_THEME Arc-Darker
# Farben für eigene Prompt-Funktionen
set -g theme_normal eff0f1
set -g theme_muted 7f8c8d
set -g theme_accent 3daee9
set -g theme_danger da4453
set -g theme_success 27ae60
# fish-eigene Farben
set -g fish_color_normal eff0f1
set -g fish_color_command 3daee9
set -g fish_color_param eff0f1
set -g fish_color_error da4453
set -g fish_color_comment 7f8c8d
set -g fish_color_quote 27ae60
set -g fish_color_operator 1abc9c
set -g fish_color_escape f67400
set -g fish_color_selection --background=3daee9
set -g fish_color_autosuggestion 5f6b73
set -g fish_color_valid_path --underline
set -g fish_color_match --background=3daee9
set -g fish_color_history_current --bold
set -g fish_color_search_match --background=3daee9
set -g fish_pager_color_prefix 3daee9
set -g fish_pager_color_progress 7f8c8d
set -g fish_pager_color_completion eff0f1
set -g fish_pager_color_description 7f8c8d
+48
View File
@@ -0,0 +1,48 @@
# foot – Breeze Dark
# Farben ohne führendes #, sechsstellig.
[main]
shell=/usr/bin/fish
font=JetBrains Mono:size=10
initial-window-size-pixels=1100x680
pad=12x9
dpi-aware=no
app-id=foot
title=foot
resize-delay-ms=120
[scrollback]
lines=10000
[cursor]
style=beam
blink=no
color=eff0f1 3daee9
[colors]
alpha=0.97
background=1b1e20
foreground=eff0f1
regular0=232629
regular1=da4453
regular2=27ae60
regular3=f67400
regular4=3daee9
regular5=9b59b6
regular6=1abc9c
regular7=bdc3c7
bright0=5f6b73
bright1=ed5565
bright2=2ecc71
bright3=fdc253
bright4=5bc0eb
bright5=b07cc6
bright6=48c9b0
bright7=eff0f1
selection-foreground=1b1e20
selection-background=3daee9
urls=3daee9
flash=da4453
@@ -0,0 +1,34 @@
# fuzzel – Breeze Dark
[main]
font=DejaVu Sans:size=11
dpi-aware=no
prompt="❯ "
icons-enabled=yes
icon-theme=Qogir-Manjaro-Dark
terminal=kitty
lines=10
width=44
horizontal-pad=18
vertical-pad=14
inner-pad=8
anchor=center
layer=overlay
[border]
width=1
radius=10
[colors]
background=1b1e20f2
text=eff0f1ff
prompt=3daee9ff
match=3daee9ff
selection=3daee9ff
selection-text=1b1e20ff
selection-match=1b1e20ff
counter=7f8c8dff
border=2f3437ff
[dmenu]
exit-immediately-if-empty=yes
@@ -0,0 +1,13 @@
[Settings]
gtk-theme-name=Arc-Darker
gtk-icon-theme-name=Qogir-Manjaro-Dark
gtk-font-name=DejaVu Sans 9
# Arc-Darker: dunkle Kopfleisten/Seitenleisten, helle Inhaltsflächen.
# prefer-dark-theme=0 verhindert, dass GTK zusätzlich gtk-dark.css lädt
# (das wäre wieder vollständig dunkel wie Arc-Dark).
gtk-application-prefer-dark-theme=0
gtk-cursor-theme-name=Qogir-Manjaro-Dark
gtk-cursor-theme-size=24
gtk-enable-animations=1
gtk-menu-images=0
gtk-decoration-layout=:minimize,maximize,close
+6
View File
@@ -0,0 +1,6 @@
/* GTK4: Arc-Dark für alle GTK4-Programme.
* GTK3 bleibt bewusst auf Arc-Darker (siehe gtk-3.0/settings.ini).
* Die Datei arc-dark/gtk-main-dark.css wird von
* ~/.local/bin/update-gtk4-dark-css aus dem Arc-Theme erzeugt.
*/
@import url("arc-dark/gtk-main-dark.css");
@@ -0,0 +1,11 @@
[Settings]
gtk-theme-name=Arc-Darker
gtk-icon-theme-name=Qogir-Manjaro-Dark
gtk-font-name=DejaVu Sans 9
# GTK4: Arc-Dark kommt über ~/.config/gtk-4.0/gtk.css (User-CSS).
# prefer-dark-theme=0 vermeidet die libadwaita-Warnung; die dunkle
# Darstellung liefert bereits das importierte Arc-Dark-Stylesheet.
gtk-application-prefer-dark-theme=0
gtk-cursor-theme-name=Qogir-Manjaro-Dark
gtk-cursor-theme-size=24
gtk-decoration-layout=:minimize,maximize,close
+39
View File
@@ -0,0 +1,39 @@
# kitty – Breeze Dark
# Wird beim Design-Wechsel durch themes/dark/.../theme.conf ersetzt.
background #1b1e20
foreground #eff0f1
cursor #eff0f1
cursor_text_color #3daee9
selection_background #3daee9
selection_foreground #1b1e20
url_color #3daee9
background_opacity 0.97
active_border_color #3daee9
inactive_border_color #2f3437
tab_bar_background #1b1e20
active_tab_background #3daee9
active_tab_foreground #1b1e20
inactive_tab_background #232629
inactive_tab_foreground #7f8c8d
active_tab_font_style bold
inactive_tab_font_style normal
color0 #232629
color1 #da4453
color2 #27ae60
color3 #f67400
color4 #3daee9
color5 #9b59b6
color6 #1abc9c
color7 #bdc3c7
color8 #5f6b73
color9 #ed5565
color10 #2ecc71
color11 #fdc253
color12 #5bc0eb
color13 #b07cc6
color14 #48c9b0
color15 #eff0f1
+68
View File
@@ -0,0 +1,68 @@
#!/bin/sh
# labwc – Autostart (wird als Shell-Skript ausgeführt)
# GTK-, Icon- und Cursor-Werte über GSettings (dconf) setzen. Unter
# Wayland liest GTK diese Werte aus dconf; ~/.config/gtk-3.0/settings.ini
# wird ignoriert. Der Aufruf steht vor den Programmen, damit Waybar,
# Thunar und GTK-Apps von Anfang an das richtige Icon-Theme sehen.
if [ -x "$HOME/.local/bin/set-gtk-settings" ]; then
if [ -z "${DBUS_SESSION_BUS_ADDRESS:-}" ] && command -v dbus-run-session >/dev/null 2>&1; then
dbus-run-session -- "$HOME/.local/bin/set-gtk-settings" dark >/dev/null 2>&1 || true
else
"$HOME/.local/bin/set-gtk-settings" dark >/dev/null 2>&1 || true
fi
fi
# Hintergrundbild
if [ -f "$HOME/.local/share/backgrounds/labwc-dark.png" ]; then
swaybg -i "$HOME/.local/share/backgrounds/labwc-dark.png" -m fill >/dev/null 2>&1 &
else
swaybg -c '#1b1e20' >/dev/null 2>&1 &
fi
# Benachrichtigungen
mako >/dev/null 2>&1 &
# Taskleiste
waybar >/dev/null 2>&1 &
# PolicyKit-Agent (Passwortdialog für pkexec, z. B. gparted)
if [ -x /usr/libexec/xfce-polkit ]; then
/usr/libexec/xfce-polkit >/dev/null 2>&1 &
elif command -v xfce-polkit >/dev/null 2>&1; then
xfce-polkit >/dev/null 2>&1 &
elif command -v lxpolkit >/dev/null 2>&1; then
lxpolkit >/dev/null 2>&1 &
fi
# D-Bus-Aktivierungsumgebung aktuell halten (für GTK/Portal-Programme)
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment \
WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE \
>/dev/null 2>&1
fi
# KDE Connect (Indikator; kdeconnectd wird bei Bedarf per D-Bus gestartet)
if command -v kdeconnect-indicator >/dev/null 2>&1; then
kdeconnect-indicator >/dev/null 2>&1 &
fi
# Idle-Manager: nach 10 Min sperren, nach 15 Min Monitor aus,
# nach 30 Min Ruhezustand (Suspend). Laufende Medienwiedergabe
# über PipeWire verhindert die Aktionen.
#
# "resume" gehört jeweils direkt hinter den zugehörigen "timeout":
# Bei Aktivität wird der Monitor wieder eingeschaltet und wartende
# Aktionen werden abgebrochen. Ohne diese Zuordnung bliebe der
# Bildschirm nach dem Ausschalten schwarz.
if command -v swayidle >/dev/null 2>&1; then
swayidle -w \
timeout 600 'idle-action lock' resume 'idle-action cancel' \
timeout 900 'idle-action dpms-off' resume 'idle-action resume' \
timeout 1800 'idle-action suspend' resume 'idle-action resume' \
after-resume 'idle-action resume' \
before-sleep 'idle-action lock-now' \
lock 'idle-action lock-now' >/dev/null 2>&1 &
fi
exit 0
@@ -0,0 +1,23 @@
# labwc – Umgebung
# Wird bei jedem Start und bei "Reconfigure" neu eingelesen.
# Tastatur
XKB_DEFAULT_LAYOUT=de
# Mauszeiger
XCURSOR_THEME=Qogir-Manjaro-Dark
XCURSOR_SIZE=24
# Dunkles GTK für alle GTK-Programme
GTK_THEME=Arc-Darker
# Wayland für Firefox / Qt
MOZ_ENABLE_WAYLAND=1
QT_QPA_PLATFORM=wayland
# Eigene Skripte (session-menu), opencode, Node.js (nvm) und
# Flatpak-Programme auffindbar machen.
# Absoluter Pfad, damit kein rekursives $PATH entsteht.
# /usr/sbin und /sbin sind enthalten, damit Werkzeuge wie gparted auch aus
# GUI-Terminals und von der Leiste gestarteten Programmen gefunden werden.
PATH=@NODE_BIN@@HOME@/.opencode/bin:@HOME@/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/flatpak/exports/bin:@HOME@/.local/share/flatpak/exports/bin:/usr/local/games:/usr/games
@@ -0,0 +1,74 @@
# labwc – Breeze-Dark-Farbwelt
# Nur Abweichungen vom eingebauten Standard-Theme.
border.width: 1
window.titlebar.padding.width: 6
window.titlebar.padding.height: 4
# Fensterrahmen
window.active.border.color: #3daee9
window.inactive.border.color: #2f3437
window.active.indicator.toggled-keybind.color: #f67400
# Titelleiste
window.active.title.bg.color: #232629
window.inactive.title.bg.color: #1b1e20
window.active.label.text.color: #eff0f1
window.inactive.label.text.color: #7f8c8d
window.label.text.justify: center
# Buttons
window.button.width: 24
window.button.height: 24
window.button.spacing: 2
window.button.hover.bg.corner-radius: 6
window.active.button.unpressed.image.color: #bdc3c7
window.inactive.button.unpressed.image.color: #5f6b73
window.active.button.close.unpressed.image.color: #da4453
window.active.button.close.hover.image.color: #eff0f1
# Schatten (pixman-schonend)
window.active.shadow.size: 18
window.inactive.shadow.size: 10
window.active.shadow.color: #00000070
window.inactive.shadow.color: #00000040
# Menü
menu.border.width: 1
menu.border.color: #2f3437
menu.items.bg.color: #232629
menu.items.text.color: #eff0f1
menu.items.active.bg.color: #3daee9
menu.items.active.text.color: #1b1e20
menu.items.padding.x: 12
menu.items.padding.y: 6
menu.separator.width: 1
menu.separator.padding.width: 8
menu.separator.padding.height: 4
menu.separator.color: #2f3437
menu.title.bg.color: #1b1e20
menu.title.text.color: #7f8c8d
menu.title.text.justify: Left
# Fensterwechsler / OSD
osd.bg.color: #232629
osd.border.color: #3daee9
osd.border.width: 1
osd.label.text.color: #eff0f1
osd.window-switcher.width: 480
osd.window-switcher.padding: 8
osd.window-switcher.item.padding.x: 10
osd.window-switcher.item.padding.y: 4
osd.window-switcher.item.active.border.width: 2
osd.window-switcher.preview.border.width: 1
osd.window-switcher.preview.border.color: #3daee9
osd.workspace-switcher.boxes.width: 16
osd.workspace-switcher.boxes.height: 16
# Andock-Vorschau
snapping.overlay.region.bg.color: #3daee940
snapping.overlay.edge.bg.color: #3daee940
snapping.overlay.region.border.width: 1
snapping.overlay.edge.border.width: 1
snapping.overlay.region.border.color: #3daee9
snapping.overlay.edge.border.color: #3daee9
+22
View File
@@ -0,0 +1,22 @@
# mako – Breeze Dark
font=DejaVu Sans 10
background-color=#1b1e20f2
text-color=#eff0f1
border-color=#3daee9
progress-color=over #3daee9ff
border-size=2
border-radius=8
padding=12
margin=12
width=360
height=140
max-visible=4
anchor=top-right
default-timeout=6000
icons=1
layer=overlay
[urgency=high]
border-color=#da4453
default-timeout=0
+51
View File
@@ -0,0 +1,51 @@
# swaylock – Breeze-Dark, passend zu Waybar/labwc
# Palette: Hintergrund #1b1e20 · Fläche #232629 · Text #eff0f1
# Akzent #3daee9 · Rot #da4453 · Grau #7f8c8d
# Hintergrundbild (gleiches Wallpaper wie der Desktop)
image=@HOME@/.local/share/backgrounds/labwc-dark.png
scaling=fill
color=1b1e20
# Schrift wie Waybar
font=DejaVu Sans
font-size=14
# Entsperr-Kreis
indicator-radius=80
indicator-thickness=8
# Ring: Akzent, neutral, prüfen, falsch
ring-color=3daee9
ring-clear-color=7f8c8d
ring-ver-color=3daee9
ring-wrong-color=da4453
# Innenfläche: dunkel und leicht transparent
inside-color=1b1e20cc
inside-clear-color=1b1e20cc
inside-ver-color=1b1e20cc
inside-wrong-color=1b1e20cc
# Text im Kreis
text-color=eff0f1
text-clear-color=eff0f1
text-ver-color=eff0f1
text-wrong-color=eff0f1
# Tastendrücke
key-hl-color=3daee9
bs-hl-color=da4453
# Caps-Lock-Zustand anzeigen (hilft bei fehlgeschlagener Eingabe)
indicator-caps-lock
# Trennlinien ausblenden
separator-color=00000000
line-color=00000000
line-clear-color=00000000
line-ver-color=00000000
line-wrong-color=00000000
# Fehlversuche anzeigen
show-failed-attempts
@@ -0,0 +1 @@
border=lightcyan;title=lightcyan;text=white;time=lightcyan;greet=gray;prompt=lightcyan;input=white;action=gray;button=lightcyan;container=black
+168
View File
@@ -0,0 +1,168 @@
/* waybar – Breeze Dark, kompakt für 1280×1024
Hintergrund #1b1e20 · Text #eff0f1 · Akzent #3daee9 */
* {
font-family: "DejaVu Sans", "Symbols Nerd Font", sans-serif;
font-size: 11px;
min-height: 0;
border: none;
border-radius: 0;
}
window#waybar {
background: #1b1e20;
color: #eff0f1;
border-top: 1px solid #2f3437;
}
window#waybar.hidden {
opacity: 0.2;
}
/* ---------- links: Launcher + Taskleiste ---------- */
#custom-launcher {
color: #3daee9;
background: #232629;
font-size: 15px;
padding: 0 10px;
margin: 4px 3px 4px 5px;
border-radius: 6px;
}
#custom-launcher:hover {
color: #1b1e20;
background: #3daee9;
}
#taskbar {
padding: 0 1px;
}
/* Nur Icons: kompakt, damit die rechten Module sichtbar bleiben */
#taskbar button {
padding: 0 5px;
margin: 4px 1px;
min-width: 20px;
border-radius: 6px;
background: transparent;
color: #bdc3c7;
}
#taskbar button:hover {
background: #2a2e32;
color: #eff0f1;
}
#taskbar button.active {
background: #232629;
color: #eff0f1;
box-shadow: inset 0 -2px 0 #3daee9;
}
#taskbar button.minimized {
color: #7f8c8d;
}
#taskbar button.urgent {
color: #eff0f1;
background: #da4453;
}
/* ---------- rechts: Status + Uhr ---------- */
#tray,
#network,
#wireplumber,
#cpu,
#memory,
#custom-session {
color: #bdc3c7;
padding: 0 8px;
margin: 4px 1px;
border-radius: 6px;
}
#tray {
padding: 0 5px;
}
/* Feste Breiten: verhindern das Springen bei 9 % → 10 % → 100 %
und beim Stummschalten. Werte aus den gemessenen Textbreiten (11 px). */
#network {
min-width: 58px;
padding: 0;
}
#wireplumber {
min-width: 58px;
padding: 0;
}
#cpu {
min-width: 54px;
padding: 0;
}
#memory {
min-width: 52px;
padding: 0;
}
#network:hover,
#wireplumber:hover,
#cpu:hover,
#memory:hover {
background: #232629;
color: #eff0f1;
}
#wireplumber.muted {
color: #da4453;
}
#memory.warning {
color: #f67400;
}
#memory.critical {
color: #da4453;
}
#custom-session {
color: #3daee9;
font-size: 13px;
padding: 0 10px;
}
#custom-session:hover {
color: #eff0f1;
background: #da4453;
}
#clock {
color: #eff0f1;
font-weight: bold;
font-size: 12px;
padding: 0 12px;
margin: 4px 6px 4px 1px;
border-radius: 6px;
letter-spacing: 0.3px;
}
#clock:hover {
background: #232629;
}
/* ---------- Tooltips ---------- */
tooltip {
background: #232629;
border: 1px solid #3daee9;
border-radius: 8px;
}
tooltip label {
color: #eff0f1;
padding: 5px 8px;
}
@@ -0,0 +1,3 @@
GTK_THEME=Arc
XCURSOR_THEME=Qogir-Manjaro
XCURSOR_SIZE=24
@@ -0,0 +1,34 @@
# ~/.config/fish/conf.d/10-theme.fish
# Breeze-Light-Farbschema – wird vom Desktop-Theme gesetzt.
# Bei einem Theme-Wechsel ersetzt das Installationsskript diese Datei.
# GTK-Programme aus dieser Shell im passenden Design starten
set -gx GTK_THEME Arc
# Farben für eigene Prompt-Funktionen
set -g theme_normal 232629
set -g theme_muted 6d7880
set -g theme_accent 1c7ed6
set -g theme_danger d64545
set -g theme_success 2f9e44
# fish-eigene Farben
set -g fish_color_normal 232629
set -g fish_color_command 1c7ed6
set -g fish_color_param 232629
set -g fish_color_error d64545
set -g fish_color_comment 6d7880
set -g fish_color_quote 2f9e44
set -g fish_color_operator 0c8599
set -g fish_color_escape b8860b
set -g fish_color_selection --background=d0ebff
set -g fish_color_autosuggestion 8a949b
set -g fish_color_valid_path --underline
set -g fish_color_match --background=d0ebff
set -g fish_color_history_current --bold
set -g fish_color_search_match --background=d0ebff
set -g fish_pager_color_prefix 1c7ed6
set -g fish_pager_color_progress 6d7880
set -g fish_pager_color_completion 232629
set -g fish_pager_color_description 6d7880
+48
View File
@@ -0,0 +1,48 @@
# foot – Breeze Light
# Farben ohne führendes #, sechsstellig.
[main]
shell=/usr/bin/fish
font=JetBrains Mono:size=10
initial-window-size-pixels=1100x680
pad=12x9
dpi-aware=no
app-id=foot
title=foot
resize-delay-ms=120
[scrollback]
lines=10000
[cursor]
style=beam
blink=no
color=ffffff 1c7ed6
[colors]
alpha=0.98
background=f8fbff
foreground=232629
regular0=232629
regular1=d64545
regular2=2f9e44
regular3=b8860b
regular4=1c7ed6
regular5=9c36b5
regular6=0c8599
regular7=6d7880
bright0=5f6b73
bright1=f03e3e
bright2=37b24d
bright3=e8a317
bright4=4dabf7
bright5=ae3ec9
bright6=15aabf
bright7=232629
selection-foreground=1864ab
selection-background=d0ebff
urls=1c7ed6
flash=d64545
@@ -0,0 +1,35 @@
# fuzzel – Breeze Light
# Weiche Pastellakzente: hellblaue Auswahl, dunkelblaue Schrift.
[main]
font=DejaVu Sans:size=11
dpi-aware=no
prompt="❯ "
icons-enabled=yes
icon-theme=Qogir-Manjaro
terminal=kitty
lines=10
width=44
horizontal-pad=18
vertical-pad=14
inner-pad=8
anchor=center
layer=overlay
[border]
width=1
radius=10
[colors]
background=f4f9fff2
text=232629ff
prompt=1c7ed6ff
match=1864abff
selection=d0ebffff
selection-text=1864abff
selection-match=1c7ed6ff
counter=6d7880ff
border=a5d8ffff
[dmenu]
exit-immediately-if-empty=yes
@@ -0,0 +1,11 @@
[Settings]
gtk-theme-name=Arc
gtk-icon-theme-name=Qogir-Manjaro
gtk-font-name=DejaVu Sans 9
# Helles Arc: prefer-dark muss 0 sein.
gtk-application-prefer-dark-theme=0
gtk-cursor-theme-name=Qogir-Manjaro
gtk-cursor-theme-size=24
gtk-enable-animations=1
gtk-menu-images=0
gtk-decoration-layout=:minimize,maximize,close
@@ -0,0 +1,9 @@
[Settings]
gtk-theme-name=Arc
gtk-icon-theme-name=Qogir-Manjaro
gtk-font-name=DejaVu Sans 9
# Helles Arc: prefer-dark muss 0 sein.
gtk-application-prefer-dark-theme=0
gtk-cursor-theme-name=Qogir-Manjaro
gtk-cursor-theme-size=24
gtk-decoration-layout=:minimize,maximize,close
@@ -0,0 +1,39 @@
# kitty – Breeze Light
# Wird beim Design-Wechsel durch themes/light/.../theme.conf ersetzt.
background #f8fbff
foreground #232629
cursor #1c7ed6
cursor_text_color #ffffff
selection_background #d0ebff
selection_foreground #1864ab
url_color #1c7ed6
background_opacity 0.98
active_border_color #1c7ed6
inactive_border_color #cfe0f3
tab_bar_background #eef4fb
active_tab_background #1c7ed6
active_tab_foreground #ffffff
inactive_tab_background #e1eaf5
inactive_tab_foreground #5f6b73
active_tab_font_style bold
inactive_tab_font_style normal
color0 #232629
color1 #d64545
color2 #2f9e44
color3 #b8860b
color4 #1c7ed6
color5 #9c36b5
color6 #0c8599
color7 #6d7880
color8 #5f6b73
color9 #f03e3e
color10 #37b24d
color11 #e8a317
color12 #4dabf7
color13 #ae3ec9
color14 #15aabf
color15 #232629
+68
View File
@@ -0,0 +1,68 @@
#!/bin/sh
# labwc – Autostart (wird als Shell-Skript ausgeführt)
# GTK-, Icon- und Cursor-Werte über GSettings (dconf) setzen. Unter
# Wayland liest GTK diese Werte aus dconf; ~/.config/gtk-3.0/settings.ini
# wird ignoriert. Der Aufruf steht vor den Programmen, damit Waybar,
# Thunar und GTK-Apps von Anfang an das richtige Icon-Theme sehen.
if [ -x "$HOME/.local/bin/set-gtk-settings" ]; then
if [ -z "${DBUS_SESSION_BUS_ADDRESS:-}" ] && command -v dbus-run-session >/dev/null 2>&1; then
dbus-run-session -- "$HOME/.local/bin/set-gtk-settings" light >/dev/null 2>&1 || true
else
"$HOME/.local/bin/set-gtk-settings" light >/dev/null 2>&1 || true
fi
fi
# Hintergrundbild
if [ -f "$HOME/.local/share/backgrounds/labwc-light.png" ]; then
swaybg -i "$HOME/.local/share/backgrounds/labwc-light.png" -m fill >/dev/null 2>&1 &
else
swaybg -c '#eef4fb' >/dev/null 2>&1 &
fi
# Benachrichtigungen
mako >/dev/null 2>&1 &
# Taskleiste
waybar >/dev/null 2>&1 &
# PolicyKit-Agent (Passwortdialog für pkexec, z. B. gparted)
if [ -x /usr/libexec/xfce-polkit ]; then
/usr/libexec/xfce-polkit >/dev/null 2>&1 &
elif command -v xfce-polkit >/dev/null 2>&1; then
xfce-polkit >/dev/null 2>&1 &
elif command -v lxpolkit >/dev/null 2>&1; then
lxpolkit >/dev/null 2>&1 &
fi
# D-Bus-Aktivierungsumgebung aktuell halten (für GTK/Portal-Programme)
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment \
WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE \
>/dev/null 2>&1
fi
# KDE Connect (Indikator; kdeconnectd wird bei Bedarf per D-Bus gestartet)
if command -v kdeconnect-indicator >/dev/null 2>&1; then
kdeconnect-indicator >/dev/null 2>&1 &
fi
# Idle-Manager: nach 10 Min sperren, nach 15 Min Monitor aus,
# nach 30 Min Ruhezustand (Suspend). Laufende Medienwiedergabe
# über PipeWire verhindert die Aktionen.
#
# "resume" gehört jeweils direkt hinter den zugehörigen "timeout":
# Bei Aktivität wird der Monitor wieder eingeschaltet und wartende
# Aktionen werden abgebrochen. Ohne diese Zuordnung bliebe der
# Bildschirm nach dem Ausschalten schwarz.
if command -v swayidle >/dev/null 2>&1; then
swayidle -w \
timeout 600 'idle-action lock' resume 'idle-action cancel' \
timeout 900 'idle-action dpms-off' resume 'idle-action resume' \
timeout 1800 'idle-action suspend' resume 'idle-action resume' \
after-resume 'idle-action resume' \
before-sleep 'idle-action lock-now' \
lock 'idle-action lock-now' >/dev/null 2>&1 &
fi
exit 0
@@ -0,0 +1,23 @@
# labwc – Umgebung (helles Design)
# Wird bei jedem Start und bei "Reconfigure" neu eingelesen.
# Tastatur
XKB_DEFAULT_LAYOUT=de
# Mauszeiger
XCURSOR_THEME=Qogir-Manjaro
XCURSOR_SIZE=24
# Helles GTK für alle GTK-Programme
GTK_THEME=Arc
# Wayland für Firefox / Qt
MOZ_ENABLE_WAYLAND=1
QT_QPA_PLATFORM=wayland
# Eigene Skripte (session-menu), opencode, Node.js (nvm) und
# Flatpak-Programme auffindbar machen.
# Absoluter Pfad, damit kein rekursives $PATH entsteht.
# /usr/sbin und /sbin sind enthalten, damit Werkzeuge wie gparted auch aus
# GUI-Terminals und von der Leiste gestarteten Programmen gefunden werden.
PATH=@NODE_BIN@@HOME@/.opencode/bin:@HOME@/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/flatpak/exports/bin:@HOME@/.local/share/flatpak/exports/bin:/usr/local/games:/usr/games
@@ -0,0 +1,75 @@
# labwc – Breeze-Light-Farbwelt
# Nur Abweichungen vom eingebauten Standard-Theme.
# Weiche Blau-/Pastellakzente statt reinem Weiß.
border.width: 1
window.titlebar.padding.width: 6
window.titlebar.padding.height: 4
# Fensterrahmen
window.active.border.color: #4dabf7
window.inactive.border.color: #cfe0f3
window.active.indicator.toggled-keybind.color: #b8860b
# Titelleiste
window.active.title.bg.color: #e7f2ff
window.inactive.title.bg.color: #eef1f4
window.active.label.text.color: #1864ab
window.inactive.label.text.color: #6d7880
window.label.text.justify: center
# Buttons
window.button.width: 24
window.button.height: 24
window.button.spacing: 2
window.button.hover.bg.corner-radius: 6
window.active.button.unpressed.image.color: #5f6b73
window.inactive.button.unpressed.image.color: #98a2a8
window.active.button.close.unpressed.image.color: #d64545
window.active.button.close.hover.image.color: #232629
# Schatten (pixman-schonend)
window.active.shadow.size: 18
window.inactive.shadow.size: 10
window.active.shadow.color: #00000026
window.inactive.shadow.color: #00000017
# Menü
menu.border.width: 1
menu.border.color: #cfe0f3
menu.items.bg.color: #ffffff
menu.items.text.color: #232629
menu.items.active.bg.color: #d0ebff
menu.items.active.text.color: #1864ab
menu.items.padding.x: 12
menu.items.padding.y: 6
menu.separator.width: 1
menu.separator.padding.width: 8
menu.separator.padding.height: 4
menu.separator.color: #dbe7f4
menu.title.bg.color: #e7f2ff
menu.title.text.color: #1c7ed6
menu.title.text.justify: Left
# Fensterwechsler / OSD
osd.bg.color: #f8fbff
osd.border.color: #4dabf7
osd.border.width: 1
osd.label.text.color: #232629
osd.window-switcher.width: 480
osd.window-switcher.padding: 8
osd.window-switcher.item.padding.x: 10
osd.window-switcher.item.padding.y: 4
osd.window-switcher.item.active.border.width: 2
osd.window-switcher.preview.border.width: 1
osd.window-switcher.preview.border.color: #4dabf7
osd.workspace-switcher.boxes.width: 16
osd.workspace-switcher.boxes.height: 16
# Andock-Vorschau
snapping.overlay.region.bg.color: #4dabf740
snapping.overlay.edge.bg.color: #4dabf740
snapping.overlay.region.border.width: 1
snapping.overlay.edge.border.width: 1
snapping.overlay.region.border.color: #4dabf7
snapping.overlay.edge.border.color: #4dabf7
+23
View File
@@ -0,0 +1,23 @@
# mako – Breeze Light
# Leicht blau getönte Benachrichtigungen statt reinem Weiß.
font=DejaVu Sans 10
background-color=#f4f9fff2
text-color=#232629
border-color=#4dabf7
progress-color=over #4dabf7ff
border-size=2
border-radius=8
padding=12
margin=12
width=360
height=140
max-visible=4
anchor=top-right
default-timeout=6000
icons=1
layer=overlay
[urgency=high]
border-color=#d64545
default-timeout=0
+51
View File
@@ -0,0 +1,51 @@
# swaylock – Breeze Light, passend zu Waybar/labwc
# Palette: Hintergrund #eef4fb · Fläche #f4f9ff · Text #232629
# Akzent #1c7ed6 · Grün #2f9e44 · Rot #d64545 · Grau #6d7880
# Hintergrundbild (gleiches Wallpaper wie der Desktop)
image=@HOME@/.local/share/backgrounds/labwc-light.png
scaling=fill
color=eef4fb
# Schrift wie Waybar
font=DejaVu Sans
font-size=14
# Entsperr-Kreis
indicator-radius=80
indicator-thickness=8
# Ring: Akzent, neutral, prüfen, falsch
ring-color=1c7ed6
ring-clear-color=6d7880
ring-ver-color=2f9e44
ring-wrong-color=d64545
# Innenfläche: hell, leicht blau getönt und transparent
inside-color=f4f9ffdd
inside-clear-color=f4f9ffdd
inside-ver-color=eef8f1dd
inside-wrong-color=fdf0f0dd
# Text im Kreis
text-color=232629
text-clear-color=232629
text-ver-color=1e6b31
text-wrong-color=a32d2d
# Tastendrücke
key-hl-color=1c7ed6
bs-hl-color=d64545
# Caps-Lock-Zustand anzeigen (hilft bei fehlgeschlagener Eingabe)
indicator-caps-lock
# Trennlinien ausblenden
separator-color=00000000
line-color=00000000
line-clear-color=00000000
line-ver-color=00000000
line-wrong-color=00000000
# Fehlversuche anzeigen
show-failed-attempts
@@ -0,0 +1 @@
container=white;border=lightblue;title=blue;text=black;time=lightblue;greet=darkgray;prompt=blue;input=black;action=darkgray;button=blue
+173
View File
@@ -0,0 +1,173 @@
/* waybar – Breeze Light, kompakt für 1280×1024
Hintergrund #eef4fb · Text #232629 · Akzent #1c7ed6
Weiche Pastellakzente für Netzwerk, Audio, CPU und Speicher. */
* {
font-family: "DejaVu Sans", "Symbols Nerd Font", sans-serif;
font-size: 11px;
min-height: 0;
border: none;
border-radius: 0;
}
window#waybar {
background: linear-gradient(180deg, #eef6ff 0%, #e7eef9 100%);
color: #232629;
border-top: 1px solid #cfe0f3;
}
window#waybar.hidden {
opacity: 0.2;
}
/* ---------- links: Launcher + Taskleiste ---------- */
#custom-launcher {
color: #1c7ed6;
background: #ffffff;
font-size: 15px;
padding: 0 10px;
margin: 4px 3px 4px 5px;
border-radius: 6px;
}
#custom-launcher:hover {
color: #ffffff;
background: #1c7ed6;
}
#taskbar {
padding: 0 1px;
}
/* Nur Icons: kompakt, damit die rechten Module sichtbar bleiben */
#taskbar button {
padding: 0 5px;
margin: 4px 1px;
min-width: 20px;
border-radius: 6px;
background: transparent;
color: #5f6b73;
}
#taskbar button:hover {
background: #d0ebff;
color: #1864ab;
}
#taskbar button.active {
background: #ffffff;
color: #1864ab;
box-shadow: inset 0 -2px 0 #1c7ed6;
}
#taskbar button.minimized {
color: #98a2a8;
}
#taskbar button.urgent {
color: #ffffff;
background: #d64545;
}
/* ---------- rechts: Status + Uhr ---------- */
#tray,
#network,
#wireplumber,
#cpu,
#memory,
#custom-session {
padding: 0 8px;
margin: 4px 1px;
border-radius: 6px;
}
#tray {
color: #5f6b73;
padding: 0 5px;
}
/* Feste Breiten: verhindern das Springen bei 9 % → 10 % → 100 %
und beim Stummschalten. Werte aus den gemessenen Textbreiten (11 px). */
#network {
color: #1c7ed6;
min-width: 58px;
padding: 0;
}
#wireplumber {
color: #0c8599;
min-width: 58px;
padding: 0;
}
#cpu {
color: #e8590c;
min-width: 54px;
padding: 0;
}
#memory {
color: #7048e8;
min-width: 52px;
padding: 0;
}
#network:hover,
#wireplumber:hover,
#cpu:hover,
#memory:hover {
background: #ffffff;
color: #1864ab;
}
#wireplumber.muted {
color: #d64545;
}
#memory.warning {
color: #b8860b;
}
#memory.critical {
color: #d64545;
}
#custom-session {
color: #1c7ed6;
font-size: 13px;
padding: 0 10px;
}
#custom-session:hover {
color: #ffffff;
background: #d64545;
}
#clock {
color: #1864ab;
font-weight: bold;
font-size: 12px;
padding: 0 12px;
margin: 4px 6px 4px 1px;
border-radius: 6px;
letter-spacing: 0.3px;
}
#clock:hover {
background: #ffffff;
}
/* ---------- Tooltips ---------- */
tooltip {
background: #ffffff;
border: 1px solid #1c7ed6;
border-radius: 8px;
}
tooltip label {
color: #232629;
padding: 5px 8px;
}