control panel: real padding, seat grab, key hints
- GtkBox set_border_width shrinks the widget's own background, so the card was inset 30px while its contents sat flush against the card edge. Padding is css now: 12px transparent gutter outside, 20px inside. Measured on a virtual display rather than guessed. - the panel grabs the seat on map, like rofi, so it keeps keyboard and pointer focus wherever the cursor is; the grab is released on close - every control shows its key in the bottom-right: n b v d p w for the tiles, a c s t for the row beneath, l o z r q for power, m/i to mute, arrows for volume Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cn3dHfbgNYdbZvzb1b3GQt
This commit is contained in:
parent
9853553782
commit
ddf9321901
3 changed files with 109 additions and 28 deletions
|
|
@ -59,7 +59,7 @@ bspc config pointer_action2 resize_side
|
|||
bspc config pointer_action3 resize_corner
|
||||
|
||||
# Rules
|
||||
bspc rule -a Control-panel.py state=floating layer=above center=on sticky=on border=off
|
||||
bspc rule -a Control-panel.py state=floating layer=above center=on sticky=on border=off follow=on focus=on
|
||||
bspc rule -a feh state=floating
|
||||
bspc rule -a '*:sun-awt-X11-XWindowPeer' manage=off
|
||||
bspc rule -a 'vlc' state=floating center=true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue