### load system
include /etc/sway/config.d/*
-### exports
-# XXX: this works but I feel like it shouldn't
-exec '\
- export XDG_SESSION_TYPE=${XDG_SESSION_TYPE:-wayland}; \
- export QT_QPA_PLATFORM=${QT_QPA_PLATFORM:-wayland-egl}; \
- export QT_WAYLAND_DISABLE_WINDOWDECORATION=${QT_WAYLAND_DISABLE_WINDOWDECORATION:--1}; \
- export SDL_VIDEODRIVER=${SDL_VIDEODRIVER:-wayland}; \
- export TERMINAL=${TERMINAL:-footclient}'
-
### daemons
+exec pipewire
exec dunst
-exec foot --server
#exec mpc-notify -d
+exec foot --server
exec swayidle timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
# x220t
# TODO: check hostname to load auxillary things
### Xorg config
xwayland force
-# XXX: this works but I feel like it shouldn't
exec xrdb -merge ~/.Xresources
exec '\
find -L "$${XDG_DATA_HOME:-~/share}/fonts" -mindepth 1 -maxdepth 2 -type d | while read -r x; do \
client.background #221100
force_display_urgency_hint 2000 ms
+## bars
bar {
position top
tray_output primary
}
}
+## criteria
+for_window [app_id="pinentry-qt"] floating enable
+
### load site-local
include config.d/*