dotfiles/private_dot_config/swhkd/swhkdrc
Mira Kristipati ab7465777d updates
2024-03-19 22:42:07 -04:00

60 lines
1.5 KiB
Text

# Browser
super + b
xdg-open http://
# Pipewire controls
XF86AudioRaiseVolume
pactl set-sink-volume "$(pactl list short sinks | cut -f 1 | head -n 1)" +5%;# increase sound volume
XF86AudioLowerVolume
pactl set-sink-volume "$(pactl list short sinks | cut -f 1 | head -n 1)" -5%; # decrease sound volume
XF86AudioMute
pactl set-sink-mute 0 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
alacritty
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
flameshot full -r -p "$HOME/Pictures/screenshots/" | cb copy
shift + print
flameshot gui -s -r -p "$HOME/Pictures/screenshots/" | cb copy
ctrl + print
flameshot gui -r -p "$HOME/Pictures/screenshots/" | cb copy
#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