dotfiles bugabingas dorkfiles
owned by bugabinga
README Source History Refs Compare Notes Search Make Ironbar power menu safer
94eb652be8ee1c392db2e49cb26d8f502d5c66cd
Oliver Jan Krylow <oliver@bugabinga.net > · 12 Jun 2026
unsigned
Browse files Compare with HEAD
Changed files (3) 503 503 Candidate buttons:
506 - - suspend: `loginctl lock-session && systemctl suspend`
507 - - logout: `hyprshutdown`
508 - - reboot: `hyprshutdown --post-cmd "systemctl reboot"`
509 505 - poweroff: `hyprshutdown --post-cmd "systemctl poweroff"`
506 + - reboot: `hyprshutdown --post-cmd "systemctl reboot"`
507 + - logout: `hyprshutdown`
508 + - suspend: `loginctl lock-session && systemctl suspend`
510 + - Popup order puts destructive actions far left and safe lock nearest the right-side opener, avoiding accidental shutdown/reboot from a second click at the trigger position.
589 590 - Replaced old polling `ironbar/scripts/workspace-label.lua` with `ironbar/scripts/workspaces-watch.py`.
590 591 - Watcher listens to Hypr socket2 and writes Ironbar vars (`#ws1`, `#ws2`, ...), making highlight update immediately on switch.
591 592 - Watcher uses direct Hypr Unix socket IPC for state reads and only writes changed Ironbar vars.
593 + - Watcher caches the Hypr socket directory and Nugu CSS vars, avoiding repeated `hyprctl instances` subprocesses and repeated CSS file reads on every workspace event.
592 594 - Added `hypr/systemd/ironbar-workspaces.service`, symlink manifest entry, and service enable recipe.
593 595 - `ironbar-workspaces.service` is `PartOf=ironbar.service` so bar restarts immediately refresh workspace vars.
594 596 - Removed unused builtin `.workspaces` CSS.
653 655 - Active workspace pill widened to make instant highlight easier to see.
654 656 - WiFi polling relaxed to 30s because connected state is icon-only and detail action opens `impala`.
655 657 - Destructive power actions were not clicked during validation.
658 + - Power popup visual test confirmed destructive off/reboot buttons sit away from the opener cursor side.
657 660 ##
Open decisions ironbar/config.json Modified 213 213 "type" :
"button" ,
214 - "class" :
"power-btn" ,
216 - "on_click" :
"!hyprlock" 214 + "class" :
"power-btn danger" ,
216 + "on_click" :
"!hyprshutdown --post-cmd \"systemctl poweroff\"" 219 219 "type" :
"button" ,
220 220 "class" :
"power-btn" ,
221 - "label" :
" sleep" ,
222 - "on_click" :
"!loginctl lock-session && systemctl suspend" 221 + "label" :
" reboot" ,
222 + "on_click" :
"!hyprshutdown --post-cmd \"systemctl reboot\"" 225 225 "type" :
"button" ,
231 231 "type" :
"button" ,
232 232 "class" :
"power-btn" ,
233 - "label" :
" reboot" ,
234 - "on_click" :
"!hyprshutdown --post-cmd \"systemctl reboot\"" 233 + "label" :
" sleep" ,
234 + "on_click" :
"!loginctl lock-session && systemctl suspend" 237 237 "type" :
"button" ,
238 - "class" :
"power-btn danger" ,
240 - "on_click" :
"!hyprshutdown --post-cmd \"systemctl poweroff\"" 238 + "class" :
"power-btn" ,
240 + "on_click" :
"!hyprlock" ironbar/style.css Modified 46 46 color:
var (--
on-focus );
52 + button :active
image {
53 + color :
var (
--on-focus );
51 58 margin-right :
10 px ;