Commit Graph

6 Commits

Author SHA1 Message Date
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
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
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
d338ff0650 Initial commit: version rice config (Hyprland/Waybar/Rofi/Kitty + aether theming) 2026-07-23 23:11:08 +02:00