Commit Graph

34 Commits

Author SHA1 Message Date
nico
a11882aebc README: repo is public, simplify install.sh instructions back to a raw curl
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 02:11:51 +02:00
nico
285f87b5b7 Add install.sh, and a full dependency list to the README
install.sh clones this repo into a temp dir and moves only the paths it
tracks into ~/.config one by one, backing up anything already there under
the same name instead of overwriting it (a plain 'git clone' straight into
~/.config isn't an option - that directory already has other apps' configs
in it, and git refuses a non-empty target anyway). Re-running it detects an
existing checkout and just pulls. --dry-run previews, --deps installs
dependencies via pacman, --repo installs from a fork. Tested end to end in a
sandboxed HOME: first run (with a colliding pre-existing dir), the pull path,
and an unrelated app's config staying untouched.

README: replaced the one-line Requirements blurb with a full table (what
each program is for, pacman/apt/dnf package names) plus ready-to-paste
install commands per distro, and an Installing section pointing at the new
script.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 02:08:52 +02:00
nico
3c69367660 Replace aether with a homegrown theme system + desktop theme widget
aether (the third-party GUI app) is gone - it didn't work reliably. Replaced
with theme/: colors.toml (palette), templates/<app>/ (Hyprland, Kitty, Rofi,
mako; unused Waybar template dropped), render.py (renders + reloads apps,
supports --set/--get/--dump), and wallpaper.py (archives + swaps the
wallpaper, deduped by hash, via a native zenity picker).

New ThemeWidget.qml: a small standalone widget pinned to the top-left corner
of the main monitor, independent of the bar and sitting on the Bottom wlr
layer (so normal windows can cover it). Two buttons - wallpaper gallery/picker,
and a color-role picker with a preset palette + hex input - call straight into
the scripts above.

Also includes an unrelated hyprland.lua fix found while testing the widget:
new kitty windows were coming up in genuine Hyprland fullscreen regardless of
workspace; a fullscreen_state window rule forces it off (plain
'fullscreen = false' turned out to be a no-op).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 01:53:04 +02:00
nico
f79449e69d Add a keybinds cheatsheet panel (Mod+Shift+H, or the help button in taskbar mode)
- Centered overlay listing every keybind, grouped by category, generated from
  a small list in Bar.qml kept in sync with the README Hotkeys section by
  hand (Hyprland's Lua config binds everything through one opaque __lua
  dispatcher, so hyprctl binds can't recover a human-readable action to
  auto-generate it from)
- Help button only shows in taskbar mode (next to the clock); hovering it
  only hints what it does, the list itself needs a click
- New Mod+Shift+H bind in hyprland.lua opens/closes it from either mode,
  via the same IPC-handler pattern as the window switcher

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-28 00:46:23 +02:00
nico
4b8892cf90 Stats pills: GPU usage/temp toggle, per-mount disk details, live network throughput
- GPU pill now toggles usage/temperature like CPU, icon stays fixed either way
- Disk pill cycles through every real mounted filesystem (root first); its
  tooltip lists all of them with device name, used/free space and live R/W
  speed sampled from /proc/diskstats
- Every stats tooltip (CPU/RAM/disk/GPU/volume/network) has a heading
- Network tooltip shows the network device and live up/download throughput
  in decimal bit units (Kbit/Mbit/Gbit/s), sampled every second independently
  of the slower nmcli connection/SSID lookup

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-27 23:01:00 +02:00
nico
85fee48d10 Add notification panel with unread badge, drop window switcher button
Bell button (left of the workspaces, left of the clock in taskbar mode) opens
a full-height right-edge panel of mako notifications; clicking one marks it
read via scripts/notifs.py. Window switcher stays on Mod+Shift+A.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-26 01:34:52 +02:00
nico
df4acf1523 Network tooltip: show the Wi-Fi SSID on its own line
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-26 01:18:43 +02:00
nico
c47d314860 Cursor: also install as Xcursor default theme so Steam/Proton pick it up
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-20 00:31:47 +02:00
nico
3508e70b93 Add custom ArchLogo cursor theme (Hyprcursor + XCursor), document it
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-19 22:30:57 +02:00
nico
2b612d6e63 Switch notification daemon from dunst to mako, theme it via aether
Autostart was launching dunst, which isn't what's actually used - mako
was never installed and no daemon was really running. Fixed exec-once/
hl.exec_cmd in both hyprland.conf and hyprland.lua to start mako instead.

Added a full mako/config: rounded corners, accent-colored border for
normal urgency, muted for low, red for critical - critical also ignores
any app-supplied timeout (ignore-timeout + default-timeout=0) so it
stays until dismissed, verified live with a 1s-timeout test notification
that was still visible 6s later. Also: icons with their own corner
radius, Spotify notifications suppressed, do-not-disturb mode respected,
20-entry history, max 5 visible, sorted by time, and a format string
that shows the app name above the title/body.

Colors aren't hardcoded - added aether/custom/mako/colors.ini as a
template (same mechanism already used for Hyprland's border colors),
rendered by aether into mako/colors.ini, which mako/config pulls in via
include=. Updates automatically on the next theme switch.

Had to add !/mako to .gitignore - it's a new top-level dir and the
default-deny root pattern was blocking it entirely.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-17 17:40:58 +02:00
nico
34ddab9d54 Show now-playing track on the unfocused monitor, fix clock tooltip clipping
Bar.qml: added an MPRIS now-playing display (Quickshell.Services.Mpris).
The bar's center already showed nothing on whichever monitor isn't
focused (only the focused one gets the active window's title) - that
space now shows the currently playing track (title in the main text
color/bold, artist in blue, separated by an accent-colored dash) instead
when a player is active. Long text scrolls as a marquee rather than
getting truncated, since the bar is a fixed-size layer surface and can't
just let text overflow. Positioning defaults to centered in the whole
bar, only shifting toward the gap between the pill groups if bar-centered
would actually overlap one of them (their widths aren't equal).

Also fixed the clock tooltip clipping: it had a fixed 230px width, too
narrow for the German long-form date line ("Donnerstag, 11. September
2026"). Now grows to fit like its height already did.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-16 22:52:21 +02:00
nico
1904ced679 Filter out IME popup toplevels from the window switcher too
Same fix as the taskbar: Hyprland.toplevels includes fcitx's "Input" /
"Default IME" popups, which don't appear in hyprctl clients and don't
get a real workspace assigned. Filter on that here as well.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-11 20:57:10 +02:00
nico
4f997d2d4c Filter out IME popup toplevels from the taskbar
Hyprland.toplevels included fcitx's "Input" and "Default IME" popup
surfaces, which don't appear in hyprctl clients and showed up in the
taskbar as icon-less letter buttons. Genuine application windows always
have a workspace assigned; these don't, so filter on that.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-11 20:52:11 +02:00
nico
3c05931354 Group taskbar buttons by app, add window picker and multi-window badge
Bar.qml: taskbar buttons now group all windows of the same app class into
one button instead of one per window. Clicking focuses the first window
in the group; hovering shows a popup listing every window in the group,
each individually clickable to focus that specific one. A small badge
with the window count appears on the icon when a group has more than one
window.

Also fixes the hover popup being unusable: it was tied directly to the
button's MouseArea.containsMouse, so it closed the instant the pointer
left the button to move toward the popup (a separate surface) - never
enough time to actually click a row. Now uses a 250ms close-delay timer
that gets cancelled by hovering either the button or the popup itself
(via a HoverHandler in the popup, which doesn't steal clicks from the row
MouseAreas underneath it).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-10 17:57:31 +02:00
nico
ad6c8dfda5 Resolve taskbar icons via Wayland appId instead of Hyprland's IPC class
Taskbar icons only resolved for windows already open when Quickshell
started - anything opened afterward fell back to the letter placeholder.
lastIpcObject (Hyprland's IPC JSON snapshot) apparently lags or stays
stale for windows opened after Quickshell is already running.

Switched to preferring the Wayland toplevel handle's appId, which the
compositor sets immediately on window creation, with lastIpcObject.class
kept as a fallback. Fixes the common case (opening a window after
Quickshell is running); pre-existing windows at Quickshell startup can
still miss their icon due to a startup enumeration race between
Quickshell and the Wayland toplevel-management protocol - acceptable
since that's not really a real-world scenario.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-10 17:46:56 +02:00
nico
a56826e553 Document the Lua Hyprland config and taskbar mode in the README
- Note that hyprland.lua is now the active Hyprland config (hyprland.conf
  is kept for reference only) and flag the hl.dsp.* dispatch syntax
  change, since it affects anything sending raw dispatch strings
- Add the taskbar-mode bullet to the bar feature list
- Fix the wallpaper reference to point at hyprland.lua instead of the
  now-inactive .conf

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-10 17:38:49 +02:00
nico
e08ff7606c Add a Windows-style taskbar mode toggled by the Arch logo
Bar.qml: clicking the logo pill now toggles bar.taskbarMode, which swaps
the normal bar content (workspace pills, title, stats/tray/network/volume
pills, window-switcher button) for a compact taskbar of open-window
buttons. Clock and power button stay visible in both modes.

Taskbar buttons are icon-only (32px), resolved via Quickshell's own
DesktopEntries.heuristicLookup(class) + Quickshell.iconPath(), the same
mechanism app launchers use, with the window class read from
lastIpcObject (the raw hyprctl JSON each toplevel carries). Falls back to
the window title's first letter when no icon is found. Hovering a button
shows the full title as a small popup window - the bar is a fixed-size
Wayland layer surface, so a plain overflowing Rectangle gets clipped;
this follows the same PanelWindow-per-LazyLoader pattern already used for
the clock tooltip.

Windows are sorted by address (not the live Hyprland.toplevels order,
which can silently reorder on focus changes) so buttons keep a stable
slot instead of jumping around.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-10 17:30:21 +02:00
nico
8ee59b6b58 Fix logout dispatch syntax and set default cursor monitor
Bar.qml: logout button still used the classic "hyprctl dispatch exit"
string, which breaks under the Lua config's dispatch protocol just like
the workspace/window-switcher clicks did. Switched to hl.dsp.exit(),
matching the SUPER+SHIFT+E keybind already in hyprland.lua.

hyprland.lua: set cursor.default_monitor to the primary (HKC) monitor.
This was never configured before, so Hyprland picked its own default at
startup, which landed the cursor/focus on the LG monitor (workspace 5)
instead of the primary one (workspace 1) on login.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-10 16:45:11 +02:00
nico
14c34bf388 Add Lua Hyprland config and fix Quickshell bar for the Lua dispatch protocol
hyprland.lua is the new active config (auto-generated from hyprland.conf via
hyprconf2lua, then finished by hand):
- Fixed monitorv2 sections to use hl.monitor() instead of hl.config({monitorv2=...}),
  which isn't a valid section key
- Restored the double space in the LG monitor's description string, which had been
  silently normalized by the converter and broke workspace-rule monitor matching
  (workspaces 5-8 were binding to the wrong display)
- Finished the aether border-color TODO: reads aether-theme.conf at config-load time
  and applies general.col.active_border/inactive_border + group.col.border_active,
  preserving the dynamic behavior from the old `source = aether-theme.conf` line

Bar.qml: the Lua config changed Hyprland's dispatch IPC syntax from plain strings
("workspace 5") to Lua expressions (hl.dsp.focus({workspace = 5})), which broke
workspace-switch clicks and the window-switcher focus clicks. Updated both call
sites to the new syntax, and fixed the active-workspace highlight to only show on
the focused monitor (Hyprland's own "active" flag is per-monitor, not global).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-10 16:37:20 +02:00
nico
33ff083170 Document the wallpaper's path in the README
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-07-29 17:11:33 +02:00
nico
286cdb829f Commit wallpaper into the repo and point hyprland.conf at it
Keeps the wallpaper alongside the rest of the config instead of
relying on a separate ~/Pictures/wallpapers path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-07-29 17:07:15 +02:00
nico
26a2fb8935 Speed up widget updates: tray background pill + instant volume changes
Tray icons now sit in a background pill matching the other stat
pills. Volume no longer waits on a 3s poll - a pactl subscribe
watcher triggers an immediate refresh on change, with a slower
poll left as a fallback. Stats refresh interval reduced 2s -> 1s.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-07-28 22:53:41 +02:00
nico
e5c1705e3f Fix tray context menus (Quit etc.) not appearing
QApplication mode is required for native PlatformMenuEntry popups;
also fix right-click coordinates being passed relative to the tray
icon instead of the bar window.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-07-28 22:43:24 +02:00
nico
4485846f66 Document the theme and hotkeys in the README
Notes that the palette is built around the stock default Hyprland
wallpaper, and lists the hyprland.conf keybinds by category.
2026-07-28 21:01:54 +02:00
nico
7aa84f037c Add README
Describes the stack, the Quickshell bar's features, the aether theming
pipeline, and discloses that most of this config (especially the bar)
was built with Claude Code rather than hand-written.
2026-07-28 20:54:45 +02:00
nico
c8b368b474 Add window switcher dropdown to the bar
New button between the workspace pills and window title opens a
dropdown listing all open windows (workspace + title), click to
focus. Also bindable via Mod+Shift+A (previously unused), dispatched
through a Quickshell IPC handler so the keybind works regardless of
which monitor currently has focus.
2026-07-28 20:50:41 +02:00
nico
e6fc044b79 Replace Waybar entirely with a single native Quickshell bar
Waybar is fully retired: logo, workspaces, active window title, tray,
CPU/RAM/disk/GPU stats, volume, network, clock, and power all now live
in one Bar.qml per monitor, laid out with real QML layouts instead of
absolutely-positioned overlays guessing at Waybar's box model. This
removes the whole class of collision/spacing bugs that came from two
independent renderers (Waybar + Quickshell) trying to line up dynamic
content (tray icon count, GPU/volume digit width) without either side
knowing the other's actual position.

Popups (power menu, calendar, tooltips) now anchor to their trigger
button's live position within the shared row layout rather than
hardcoded margins, so they stay correctly placed regardless of content
width changes.

Workspace/title logic uses the Quickshell.Hyprland module directly
(IPC-driven, per-monitor active workspace and toplevel), replacing
hyprland/workspaces and hyprland/window. Volume uses wpctl. GPU/CPU/RAM/
disk stats reuse the existing stats.sh script, extended with per-core
usage and nvidia-smi output. System tray uses Quickshell's SystemTray
service (StatusNotifierItem) with left-click activate / right-click menu.

hyprland.conf no longer needs the exec-once wait-for-waybar wrapper
since there's only one bar renderer now.
2026-07-28 20:29:18 +02:00
nico
c4ff935a4f Add Quickshell network widget replacing Waybar's network module
Shows connection type/status (wifi essid, "LAN", or offline) with a
matching icon, refreshed periodically via nmcli/ip. Hover shows the
local IP; clicking toggles the tooltip to fetch and show the public IP
via curl, falling back gracefully when offline.
2026-07-28 17:47:55 +02:00
nico
6da83babee Force Quickshell widgets onto the overlay layer above Waybar
Waybar and Quickshell both autostart via exec-once, racing to create their
layer-shell surfaces. When Waybar's (transparent) bar surface ended up
stacked above the power button/clock widget on the same "top" layer, it
silently ate their clicks after a fresh login even though the buttons were
still visible. Pinning every Quickshell window to the overlay layer makes
the stacking order deterministic regardless of startup order.
2026-07-27 22:31:57 +02:00
nico
b542377891 Add Quickshell clock/calendar widget replacing Waybar's clock module
Same anchored-popup pattern as the power button: bar pill shows date/time,
hover opens a tooltip with full weekday date and ISO calendar week, click
opens a month calendar (week numbers, today highlighted, prev/next month
navigation). Waybar keeps a blank spacer reserving the space.
2026-07-27 21:27:46 +02:00
nico
3b1eb02159 Add Quickshell power button with reboot/shutdown/logout dropdown
Replaces the removed Waybar custom/power module with a Quickshell-rendered
button anchored to the same spot in the bar, opening a proper anchored
dropdown (Neustart/Herunterfahren/Abmelden, localized via $LANG) instead of
a screen-centered rofi menu. Waybar keeps a blank spacer module reserving
the space. Styled to match the rice's blue accent and the bar's pill look.
2026-07-27 19:15:49 +02:00
nico
3036b996f9 Track kdeglobals and dolphinrc (Dolphin color scheme fix) 2026-07-25 22:36:18 +02:00
nico
d35a775639 Fix Dolphin theming: custom qt6ct color scheme matching rice palette 2026-07-25 22:34:31 +02:00
nico
d338ff0650 Initial commit: version rice config (Hyprland/Waybar/Rofi/Kitty + aether theming) 2026-07-23 23:11:08 +02:00