sway config updated

master
bvn13 3 years ago
parent 77797a7a4e
commit 1350d19dc7
  1. 25
      .config/sway/config

@ -267,14 +267,16 @@ bindsym XF86MonBrightnessUp exec light -A 3
bindsym XF86MonBrightnessDown exec light -U 3
### Print screen
bindsym Print exec grim -t png ~/cloud/yadisk/pictures/screenshots/$(date +%Y%m%d-%H%M%S).png
bindsym Ctrl+Print exec grim -t png -g "$(slurp)" ~/cloud/yadisk/pictures/screenshots/$(date +%Y%m%d-%H%M%S).png
bindsym Print exec grim -t png ~/Nextcloud/raffle/screenshots/$(date +%Y%m%d-%H%M%S).png
bindsym Ctrl+Print exec grim -t png -g "$(slurp)" ~/Nextcloud/raffle/screenshots/$(date +%Y%m%d-%H%M%S).png
### Audio volume
bindsym XF86AudioMute exec sh -c "pactl set-sink-mute 0 toggle"
bindsym XF86AudioRaiseVolume exec sh -c "pactl set-sink-mute 0 false ; pactl set-sink-volume 0 +5%"
bindsym XF86AudioLowerVolume exec sh -c "pactl set-sink-mute 0 false ; pactl -- set-sink-volume 0 -5%"
bindsym XF86AudioMicMute exec sh -c "pactl set-source-mute 1 toggle"
bindsym XF86AudioMute exec sh -c "pactl set-sink-mute 1 toggle"
bindsym XF86AudioRaiseVolume exec sh -c "pactl set-sink-mute 1 false ; pactl set-sink-volume 1 +5%"
bindsym Shift+XF86AudioRaiseVolume exec sh -c "pactl set-sink-mute 1 false ; pactl set-sink-volume 1 +1%"
bindsym XF86AudioLowerVolume exec sh -c "pactl set-sink-mute 1 false ; pactl -- set-sink-volume 1 -5%"
bindsym Shift+XF86AudioLowerVolume exec sh -c "pactl set-sink-mute 1 false ; pactl -- set-sink-volume 1 -1%"
bindsym XF86AudioMicMute exec sh -c "pactl set-source-mute 1 toggle"
mode "$mode_mic" {
bindsym Up exec sh -c "pactl set-source-mute 1 false ; pactl set-source-volume 1 +5%"
@ -297,15 +299,18 @@ include /etc/sway/config.d/*
## Disable autolock
# https://www.reddit.com/r/swaywm/comments/b0qpm1/disable_swayidle_when_fullscreen_media/
for_window [app_id="firefox"] inhibit_idle fullscreen
##
## WINDOWS
## behaviour
## all windows list: swaymsg -t get_tree
##
assign [app_id="firefox-wayland"] workspace $ws2
assign [class="jetbrains-idea"] workspace $ws3
for_window [app_id="pavucontrol"] floating enable''
assign [class="Slack"] workspace $ws4
assign [app_id="telegramdesktop"] workspace $ws4
assign [class="zoom"] workspace $ws10
for_window [app_id="pavucontrol"] floating enable
##
## AUTOSTART
##
exec mako --anchor top-right
exec mako --anchor top-right --default-timeout 4000

Loading…
Cancel
Save