Compare commits
2 Commits
68e7eac999
...
fcc18b4859
Author | SHA1 | Date |
---|---|---|
Peter Cai | fcc18b4859 | |
Peter Cai | 4b0e5c04ee |
|
@ -237,6 +237,11 @@ bindsym Shift+F10 exec grimshot --notify save screen
|
|||
bindsym Ctrl+Tab workspace next
|
||||
bindsym Ctrl+grave workspace prev
|
||||
|
||||
# Audio volume (WirePlumber)
|
||||
bindsym --locked XF86AudioRaiseVolume exec "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+"
|
||||
bindsym --locked XF86AudioLowerVolume exec "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-"
|
||||
bindsym --locked XF86AudioMute exec "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
}
|
||||
|
@ -271,3 +276,7 @@ for_window [app_id="pavucontrol"] floating enable
|
|||
# Start the systemd-user target for sway and import environment
|
||||
# Makes service management a bit cleaner
|
||||
exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"
|
||||
|
||||
# Restart kanshi if it is running
|
||||
# This restores monitor configuration on reload
|
||||
exec_always "systemctl --user is-active kanshi && systemctl --user restart kanshi"
|
||||
|
|
Loading…
Reference in New Issue