dotfiles/private_dot_config/swhkd/swhkdrc
Mira Kristipati 29b0de2015 updates
2024-05-17 00:10:56 -04:00

60 lines
1.5 KiB
Text

# Browser
super + b
xdg-open http://
# Pipewire controls
XF86AudioRaiseVolume
pactl set-sink-volume @DEFAULT_SINK@ +5%;# increase sound volume
XF86AudioLowerVolume
pactl set-sink-volume @DEFAULT_SINK@ -5%; # decrease sound volume
XF86AudioMute
pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
# Media player controls
XF86AudioPlay
playerctl play-pause
XF86AudioNext
playerctl next
XF86AudioPrev
playerctl previous
# Sreen brightness controls
#sudo chmod +s $(which brightnessctl)
XF86MonBrightnessUp
brightnessctl -e s 5%+
XF86MonBrightnessDown
brightnessctl -e s 5%-
super + enter
kitty
super + shift + e
rofi \
-show p \
-modi p:'rofi-power-menu --symbols-font "Symbols Nerd Font Mono"' \
-theme lunar-witch
super + space
rofi -combi-modi "drun#run" -show combi -show-icons -theme lunar-witch
super + tab
rofi -show window -show-icons -theme lunar-witch
print
grim - | tee "$XDG_PICTURES_DIR/screenshots/$(date -Is).png" | wl-copy
shift + print
grim -g "$(slurp)" - | tee "$XDG_PICTURES_DIR/screenshots/$(date -Is).png" | wl-copy
ctrl + print
TEMP=$(mktemp); grim -g "$(slurp)" $TEMP && notify-send "$TEMP" && flatpak run org.gimp.GIMP -- $TEMP
#super + shift + v
# cliphist list | rofi -dmenu -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 + .
rofi -show emoji -modi emoji -theme lunar-witch | cb