]> git.sev.monster Git - dotfiles.git/blobdiff - etc/sway/config
tweaks to zsh/env (xdg, dbus, gpg, tmp), sway, ...
[dotfiles.git] / etc / sway / config
index ce0f7fd7687263e9e783da6e9b3d587f9bcdbadb..626e9cd7b8305ba467af72544df175dcb2572275 100644 (file)
@@ -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/*
This page took 0.046936 seconds and 4 git commands to generate.