dotfiles/.config/sway/exec.swayconf
Jozef Steinhübl eec5faba96
sway: xdg-desktop-portal
i hate XDG so MUCH!!!!!!!!! and dbus even more...
2024-08-10 22:32:12 +02:00

25 lines
690 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# vim:ft=swayconfig
# gtk themes
exec_always {
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
gsettings set org.gnome.desktop.interface icon-theme "Papirus-Dark"
gsettings set org.gnome.desktop.interface cursor-theme "Bibata-Modern-Classic"
}
# daemons, dbus doesn't start them automatically lol
exec /usr/libexec/xdg-desktop-portal-gtk
exec /usr/libexec/xdg-desktop-portal-wlr
# audio
exec pipewire
# applets
exec nm-applet
exec blueman-applet
# auto lock + auto sleep
exec swayidle -w \
timeout 120 'swaylock -f' \
timeout 120 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f'