dotfiles/.config/bspwm/sxhkdrc
Sarthak b5a252c480 control centre, notification overhaul, and cleanup
One centred rofi panel (super+x, or the gear in the bar) now drives network,
bluetooth, audio, WireGuard, display, notifications, clipboard, emoji,
screenshots, wallpaper, the particle layer, the bar and power. The separate
per-function menus are gone.

dunst: icons and images were disabled outright (icon_position=off,
max_icon_size=0). Now icons resolve through Papirus, images render, progress
bars are styled, notifications gap and stack, and fullscreen windows are not
covered unless the message is critical. Volume up/down never notified at all;
they now show a stacking OSD with a progress bar.

Removed things that were broken or belonged to whoever this rice came from:
- vpn-launcher.sh (mullvad/openvpn) and dc-multivpn
- audio/bluetooth/network/power rofi menus, folded into the control centre
- untar-all, unzip-all, resetxdgportal (unreferenced)
- a sxhkd binding hardcoded to /home/sarthak/projects/scribe
- clipboard-manager.sh keyed off XDG_SESSION_TYPE, which is 'tty' here, so it
  only ever printed a Russian error; rewritten on greenclip
- toggle-bar.sh was bound to super+b but did not exist; written

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

92 lines
1.7 KiB
Text
Executable file

# System binding
super + {Return,v,w,x,b,period}
{st, \
sh ~/.config/scripts/rofi-menus/clipboard-manager.sh, \
rofi -show drun, \
sh ~/.config/scripts/control-center.sh, \
sh ~/.config/scripts/toggle-bar.sh, \
sh ~/.config/scripts/rofi-menus/rofimoji.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}