Merge branch 'x13' and switch to sway

Conflicts:
- .config/i3/config
- .config/i3status-rust/config.toml
- .gitignore.d/i3
- .local/bin/fuzzy-i3lock
This commit is contained in:
finga 2025-01-26 04:36:14 +01:00
commit f974499e80
13 changed files with 295 additions and 315 deletions
.config/sway/config.d

View file

@ -0,0 +1,16 @@
# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
# See FS#63021
# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
# Upstream refuses to set XDG_CURRENT_DESKTOP so we have to.
exec systemctl --user set-environment XDG_CURRENT_DESKTOP=sway
exec systemctl --user import-environment DISPLAY \
SWAYSOCK \
WAYLAND_DISPLAY \
XDG_CURRENT_DESKTOP
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY \
SWAYSOCK \
XDG_CURRENT_DESKTOP=sway \
WAYLAND_DISPLAY