dotfiles/.config/sway/exec.swayconf

31 lines
754 B
Text
Raw Normal View History

# vim:ft=swayconfig
2024-09-03 18:57:39 +02:00
# monitor
exec_always {
xrandr --output HDMI-A-1 --primary
}
2024-08-09 14:47:04 +02:00
# gtk themes
exec_always {
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
gsettings set org.gnome.desktop.interface icon-theme "Papirus-Dark"
2024-08-09 14:47:04 +02:00
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
2024-08-09 14:47:04 +02:00
# 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"' \
2024-08-09 14:47:04 +02:00
before-sleep 'swaylock -f'