dots: misc

This commit is contained in:
Dmitry Zakharchenko 2024-01-04 00:22:32 +02:00
parent dc41382ccf
commit 4d5f716d75
2 changed files with 6 additions and 7 deletions

View file

@ -33,12 +33,12 @@ riverctl map normal Super+Shift X spawn "sysact shut"
# Volume and MPD
for mode in normal locked
do
riverctl map $mode None XF86AudioMute spawn "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; kill -45 $(pidof someblocks)"
riverctl map $mode Super BackSpace spawn "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; kill -45 $(pidof someblocks)"
riverctl map -repeat $mode None XF86AudioLowerVolume spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-; kill -45 $(pidof someblocks)"
riverctl map -repeat $mode None XF86AudioRaiseVolume spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+; kill -45 $(pidof someblocks)"
riverctl map -repeat $mode Super Equal spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+; kill -45 $(pidof someblocks)"
riverctl map -repeat $mode Super Minus spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-; kill -45 $(pidof someblocks)"
riverctl map $mode None XF86AudioMute spawn "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
riverctl map $mode Super BackSpace spawn "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
riverctl map -repeat $mode None XF86AudioLowerVolume spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
riverctl map -repeat $mode None XF86AudioRaiseVolume spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
riverctl map -repeat $mode Super Equal spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
riverctl map -repeat $mode Super Minus spawn "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
riverctl map $mode Super Comma spawn "mpc prev"
riverctl map $mode Super P spawn "mpc toggle"
riverctl map $mode Super Period spawn "mpc next"

View file

@ -21,7 +21,6 @@ cfa="$EDITOR $XDG_CONFIG_HOME/shell/aliases" \
cfz="$EDITOR $XDG_CONFIG_HOME/zsh/.zshrc" \
cfp="$EDITOR $XDG_CONFIG_HOME/zsh/.zprofile" \
cfq="$EDITOR $XDG_CONFIG_HOME/qutebrowser/config.py" \
cfu="$EDITOR $XDG_CONFIG_HOME/newsboat/urls" \
cfv="$EDITOR $XDG_CONFIG_HOME/nvim/init.lua" \
hist="$EDITOR $XDG_CACHE_HOME/history"