Commit graph

1468 commits

Author SHA1 Message Date
dca7d49a5f quickshell: animated close for all dropdown dismissals
BarDropdown.animateClose() morphs height to 0 then hides after
230ms. Used by auto-close timer, icon toggle, and switching
between dropdowns — old slides up while new slides down.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 17:20:48 +01:00
a8a129a9cd quickshell: auto-close dropdowns on mouse inactivity
3s timer starts when dropdown opens or mouse leaves. Hovering
the dropdown stops the timer. Leaves instantly on mouse exit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 17:17:25 +01:00
98d1e6249c quickshell: seamless switching between dropdowns
Remove grabFocus from BarDropdown. Centralized toggleDropdown()
closes the active dropdown before opening a new one, so clicking
between network/battery/calendar/tray is instant — no double-click.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 17:13:58 +01:00
2b9edcb589 quickshell: add battery dropdown with power draw and profiles
Click battery to see charge %, wattage draw, and switch between
power-saver/balanced/performance profiles via power-profiles-daemon.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 17:06:46 +01:00
d474f87df5 quickshell: fix network widget not updating after actions
Reset state before each poll so disconnected state is detected.
Immediately update icon on disconnect, and trigger a delayed
re-poll (2s) after connect/disconnect actions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 16:59:26 +01:00
24b27d02fc quickshell: fix wifi dropdown disconnect, connect, password prompt
- Track actual wifi device name instead of hardcoded wlan0
- Use writeShellScript for wifi-connect with zenity password fallback
- Fix wifiNetworks array mutation for proper QML reactivity
- Add zenity to system packages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 16:15:24 +01:00
4a0399c6d3 quickshell: add wifi network selector dropdown
Click network icon to see available wifi networks with signal
strength. Click to connect, disconnect button for active network.
Uses BarDropdown component for consistent styling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 16:01:55 +01:00
074e298f32 quickshell: fix extra closing brace from refactor
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:51:28 +01:00
f50e2d875f quickshell: extract BarDropdown reusable component
Inline QML component encapsulating PopupWindow + concave
corners + morphing animation + dismiss guard. Calendar and
tray context menu both use it now.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:42:07 +01:00
0aba95779a quickshell: apply dropdown pattern to tray context menu
Same morphing animation, concave corners, and dismiss behavior
as the calendar popup. Menu drops down from bar at icon position.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:37:54 +01:00
3b7cc98fc9 quickshell: fix clock click reopening after grabFocus dismiss
Clicking clock while popup open triggered grabFocus dismiss
then immediately reopened. Add justDismissed guard so the
click handler ignores the click that caused the dismiss.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:23:55 +01:00
a6af5ac882 quickshell: restore grabFocus for click-away dismiss
Smooth close on clock click, instant dismiss on focus loss.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:21:52 +01:00
96566d0319 quickshell: remove grabFocus, animate close on clock click
Wayland popup protocol prevents re-showing dismissed popups.
Remove grabFocus and toggle open/close via clock click only,
allowing the slide-up animation to play on close.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:15:40 +01:00
25856f114f quickshell: animate calendar close on focus loss
Intercept grabFocus hide via onVisibleChanged — re-show popup
briefly and animate height to 0 before truly hiding it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:11:57 +01:00
e271a79235 quickshell: animate calendar close on focus loss
Handle onActiveChanged to set open=false and start close timer
instead of letting grabFocus hide the popup instantly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:10:03 +01:00
3d79c226ed quickshell: wrap concave corners in clipping Items
Canvas at fixed 8x8 inside a clip Item that grows with
calContent.height — corners reveal progressively with the
slide animation instead of breaking on dynamic resize.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:08:11 +01:00
36b02fb888 quickshell: sync concave corners with calendar slide animation
Corners now track calContent.height (clamped to 8px) instead of
fading opacity, so they reveal with the same slide-down morph.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 15:05:44 +01:00
3271262e8d quickshell: widen popup to fit concave corners
Popup was only fullWidth+4, leaving 2px per side — the 8px
corners were clipped. Now fullWidth+16 gives 8px per side.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 14:59:04 +01:00
5b3d2c1523 quickshell: fix concave corner orientation
Filled area was at the bottom of each corner instead of the top.
Flipped arcs so fill connects to bar above and calendar beside.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 14:52:42 +01:00
5e78dc42dc quickshell: fix concave corners with direct path drawing
Replace broken destination-out compositing with direct Canvas
path fill — draws only the concave shape without alpha tricks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 14:49:54 +01:00
8c6ab7984d quickshell: concave corners on calendar-bar junction
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 13:51:02 +01:00
bebd19bbff quickshell: offset calendar below bar, match opacity
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 13:47:35 +01:00
2c4a7a155e quickshell: solid opacity for calendar popup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 13:44:15 +01:00
7a17e5e7e0 quickshell: borderless calendar, seamless bar extension
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 13:42:11 +01:00
beedc893ea quickshell: pull-down calendar animation from bar edge
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 13:40:12 +01:00
5ddaacf8ff quickshell: reset calendar open state on close
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 13:37:24 +01:00
8d7a81ce02 quickshell: morphing calendar popup animation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 13:35:00 +01:00
0156255cac hyprland: remove nm-applet from macbook startup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 12:54:11 +01:00
3f61cb6b09 quickshell: fix wifi detection and battery parsing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 12:51:21 +01:00
45275e29c9 quickshell: anchor-based layout instead of RowLayout
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 12:08:04 +01:00
1cb2389b0d quickshell: fix layout width with Row for workspaces
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 12:05:04 +01:00
d63097edb6 quickshell: use screen.width for RowLayout
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:59:46 +01:00
5e86856307 quickshell: bind RowLayout size to bar dimensions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:58:40 +01:00
decde0aabb quickshell: restore implicitWidth for full-width bar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:45:27 +01:00
6e27ccf6e0 quickshell: remove unnecessary width override
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:44:39 +01:00
3276f83948 quickshell: use width for full-width bar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:34:41 +01:00
b3492a40cb quickshell: set implicitWidth to screen width
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:33:20 +01:00
51cfe675cd quickshell: remove deprecated width property
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:31:14 +01:00
ebd703fa15 quickshell: force bar width to screen width
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:29:00 +01:00
71661498d9 hyprland: autostart quickshell
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:19:28 +01:00
8e914e3131 quickshell: clock, calendar, battery; remove waybar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:15:01 +01:00
4905389a3c quickshell: add click handler to open nm-connection-editor
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:07:14 +01:00
5207fe32f3 quickshell: fix network widget parent refs, drop click handler
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:04:34 +01:00
463cb4dd07 quickshell: network widget, bar transparency, drop nm-applet
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 11:02:35 +01:00
f1f33194b2 quickshell: auto-close context menu on outside click
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 10:58:40 +01:00
a3e83fa6f0 quickshell: inline monochrome tray icons on bar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 10:55:21 +01:00
fbb7c2d494 quickshell: fix missing closing brace
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 10:52:14 +01:00
5f1618e49c quickshell: fix menu delegate, use inline repeater
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 10:39:19 +01:00
e02e1f41c1 quickshell: custom QML tray context menus
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 10:37:50 +01:00
63bd64ec56 quickshell: fix tray menu position
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-26 10:31:23 +01:00