1
0
mirror of https://github.com/elisspace/dotfiles.git synced 2026-08-29 15:43:57 +00:00

add screen timeout to sway

This commit is contained in:
elisspace
2022-08-26 18:15:15 -04:00
parent 41a9b27053
commit 28ae0d3ead

View File

@@ -213,8 +213,9 @@ bindsym $mod+r mode "resize"
# inactive_workspace #32323200 #32323200 #5c5c5c
# }
#}
output eDP-1 scale 1.4
default_border pixel 2
output eDP-1 scale 1.4
# output eDP-1 scale 2 # resized rate for distance viewing
# default_border pixel 2
bar {
swaybar_command waybar
}
@@ -238,6 +239,9 @@ bindsym Shift+Print exec grim -g "$(slurp)" -t png - | wl-copy -t image/png
# capture the focused monitor to clipboard
bindsym Shift+Control+Print exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') -t png - | wl-copy -t image/png
exec swayidle \
timeout 600 'swaymsg "output *dpms off"' \
resume 'swaymsg "output * dpms on"'
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%