dotfiles/private_dot_config/swhkd/swhkdrc
2024-08-04 22:45:25 -04:00

60 lines
1.7 KiB
Text

# Browser
super + b
exec xdg-open http://
# Pipewire controls
XF86AudioRaiseVolume
exec pactl set-sink-volume @DEFAULT_SINK@ +5%;# increase sound volume
XF86AudioLowerVolume
exec pactl set-sink-volume @DEFAULT_SINK@ -5%; # decrease sound volume
XF86AudioMute
exec pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
# Media player controls
XF86AudioPlay
exec playerctl play-pause
XF86AudioNext
exec playerctl next
XF86AudioPrev
exec playerctl previous
# Sreen brightness controls
#sudo chmod +s $(which brightnessctl)
XF86MonBrightnessUp
exec brightnessctl -e s 5%+
XF86MonBrightnessDown
exec brightnessctl -e s 5%-
super + enter
exec kitty
super + shift + e
exec rofi \
exec -show p \
exec -modi p:'rofi-power-menu --symbols-font "Symbols Nerd Font Mono"' \
exec -theme lunar-witch
super + space
exec rofi -combi-modi "drun#run" -show combi -show-icons -theme lunar-witch
super + tab
exec rofi -show window -show-icons -theme lunar-witch
print
exec grim - | tee "$XDG_PICTURES_DIR/screenshots/$(date -Is).png" | wl-copy -t image/png
shift + print
exec grim -g "$(slurp)" - | tee "$XDG_PICTURES_DIR/screenshots/$(date -Is).png" | wl-copy -t image/png
ctrl + print
exec TEMP=$(mktemp); grim -g "$(slurp)" $TEMP && notify-send "$TEMP" && flatpak run org.gimp.GIMP -- $TEMP
super + shift + v
exec cliphist list | rofi -dmenu -display-columns 2 -p "Select item to copy" -lines 10 -width 35 -theme lunar-witch | cliphist decode | wl-copy
# super + shift + v
# cb hs $(cb hs | jq '.[] | .content.path? // .content' | rofi -dmenu -format i -theme lunar-witch)
super + shift + .
exec rofi -show emoji -modi emoji -theme lunar-witch | cb