dotfiles/.config/sway/exec.swayconf

30 lines
754 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
# monitor
exec_always {
xrandr --output HDMI-A-1 --primary
}
# 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'