sway config: add brightness keys and slow gtk start workaround

This commit is contained in:
Aminda Suomalainen 2022-10-28 19:37:48 +03:00
parent cd1a43778b
commit 06f130cb86
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 7 additions and 0 deletions

View File

@ -230,9 +230,16 @@ bindsym XF86Calculator exec --no-startup-id galculator
# Known from Windows display configuration
bindsym $mod+p exec wdisplays
bindsym $mod+Shift+p exec wdisplays
# Brightness from Sway user FAQ
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
# Reveal xwayland
for_window [shell=".*"] title_format "%title :: %shell"
# Slow gtk start workaround
exec systemctl --user import-environment
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
include /etc/sway/config.d/*
include ~/.config/sway/config.d/*.conf