mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-08 13:30:47 -05:00
Add keybinds for playback control
This commit is contained in:
parent
d48e13dd41
commit
4c50bd571b
1 changed files with 7 additions and 5 deletions
|
@ -197,6 +197,11 @@ do
|
|||
riverctl map "$mode" None XF86AudioRaiseVolume spawn 'pactl set-sink-volume @DEFAULT_SINK@ +5%'
|
||||
riverctl map "$mode" None XF86AudioMicMute spawn 'pactl set-source-mute @DEFAULT_SOURCE@ toggle'
|
||||
|
||||
# Media
|
||||
riverctl map "$mode" None XF86AudioPrev spawn ''
|
||||
riverctl map "$mode" None XF86AudioPlay spawn ''
|
||||
riverctl map "$mode" None XF86AudioNext spawn ''
|
||||
|
||||
# Backlight
|
||||
riverctl map $mode None XF86MonBrightnessDown spawn 'light -U 5'
|
||||
riverctl map $mode None XF86MonBrightnessUp spawn 'light -A 5'
|
||||
|
@ -249,7 +254,7 @@ riverctl map-switch normal lid close 'waylock-launcher'
|
|||
riverctl focus-output DP-1
|
||||
{{- end }}
|
||||
|
||||
# -app-id and title -"foo" start floating
|
||||
# Start floating
|
||||
riverctl rule-add -app-id 'Bitwarden' float
|
||||
riverctl rule-add -app-id 'Blueman-manager' float
|
||||
riverctl rule-add -app-id 'connman-gtk' float
|
||||
|
@ -259,10 +264,7 @@ riverctl rule-add -app-id 'mousepad' float
|
|||
riverctl rule-add -app-id 'com.nextcloud.dextopclient.Nextcloud' float
|
||||
riverctl rule-add -app-id 'vlc' float
|
||||
|
||||
# -app-id "bar" and any title use client-side decorations
|
||||
riverctl rule-add -app-id 'emacs' csd
|
||||
|
||||
# Default layout generator
|
||||
# Layout generator
|
||||
riverctl default-layout rivertile
|
||||
rivertile -view-padding 4 -outer-padding 4 -main-ratio .55 &
|
||||
|
||||
|
|
Loading…
Reference in a new issue