mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-14 03:08:06 +01:00
30 lines
754 B
Text
30 lines
754 B
Text
# 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'
|