Commit Graph

18 Commits

Author SHA1 Message Date
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