X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/c51966c07c364efb607d48bdb84a78d0509c4cfe..e4677c6bc5c3de5dc9092e4a7636d0587c5353c1:/etc/sway/config diff --git a/etc/sway/config b/etc/sway/config index ce0f7fd..626e9cd 100644 --- a/etc/sway/config +++ b/etc/sway/config @@ -1,19 +1,11 @@ ### 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 @@ -22,7 +14,6 @@ exec swayidle timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output ### 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 \ @@ -234,6 +225,7 @@ client.placeholder $b_bdr $b_bg $b_fg $b_ind $b_chb client.background #221100 force_display_urgency_hint 2000 ms +## bars bar { position top tray_output primary @@ -254,5 +246,8 @@ bar { } } +## criteria +for_window [app_id="pinentry-qt"] floating enable + ### load site-local include config.d/*