dotfiles/.config/bspwm/sxhkdrc
Sarthak b4c6c7dbd5 replace the rofi control centre with a real GTK panel
rofi spawns a process per menu, so every volume nudge and every step back
destroyed and recreated the window. That is the flicker, and no tuning fixes
it. The panel is now one GTK window: a GtkStack for views, real GtkScale
sliders wired to wpctl, status on a timer, and a pidfile so super+x toggles
it shut. Escape steps back inside the same window.

Also: picom no longer fades or animates rofi, ::selection is not valid GTK
css, and the network/bluetooth lists no longer print their payload column.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cn3dHfbgNYdbZvzb1b3GQt
2026-09-04 01:12:49 +05:30

91 lines
1.7 KiB
Text
Executable file

# System binding
super + {Return,v,w,x,b}
{st, \
sh ~/.config/scripts/rofi-menus/clipboard-manager.sh, \
rofi -show drun, \
python3 ~/.config/scripts/control-panel.py, \
sh ~/.config/scripts/toggle-bar.sh}
# Screenshots
super + alt + p
flameshot gui
# Media control (volume)
XF86Audio{RaiseVolume,LowerVolume,Mute}
sh ~/.config/scripts/volume.sh --device output --action {increase,decrease,toggle}
XF86AudioMicMute
sh ~/.config/scripts/volume.sh --device input --action toggle
# Media control (player)
XF86Audio{Play,Pause,Next,Prev,Stop}
{playerctl play-pause, \
playerctl play-pause, \
playerctl next, \
playerctl previous, \
playerctl stop}
ctrl + alt + {c,x,z}
{playerctl play-pause, \
playerctl next, \
playerctl previous}
# Quit bspwm
super + Delete
bspc quit
# Reload bspwm
super + alt + r
bspc wm -r
# Reload sxhkd
super + Escape
pkill -USR1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config' -t 1500
# Kill node
super + q
bspc node -c
# Floating/tiled node
super + space
bspc node -t "~"{floating,tiled}
# Fullscreen
super + f
bspc node -t \~fullscreen
# Move node
super + {_,shift + }{Right,Left,Up,Down}
bspc node -{f,s} {
east, \
west, \
north, \
south}
# Alt tab
alt + Tab
bspc node -f last
# Change desktop
super + {1-9,0}
bspc desktop -f {1-9,10}
# Move to next desktop
super + ctrl + Right
bspc desktop -f next
# Move to previous desktop
super + ctrl + Left
bspc desktop -f prev
# Move node to another desktop
super + shift + {1-9,0}
bspc node -d '^{1-9,10}'
# Switch node
super + shift + ctrl + {Left,Right,Up,Down}
{bspc node -s west, \
bspc node -s east, \
bspc node -s north, \
bspc node -s south}