AutoYADM commit: 2025-01-13 13:55:05

This commit is contained in:
Daniel Fichtinger 2025-01-13 13:55:05 -05:00
parent 09ac02dc3f
commit e7a046dd49
2 changed files with 16 additions and 15 deletions

View file

@ -1,21 +1,21 @@
# include /etc/sway/config.d/*
include /etc/sway/config.d/*
# 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
# 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
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
@ -318,7 +318,8 @@ exec nm-applet
exec autotiling &
# exec_always pkill waybar && waybar
# exec waybar &
exec_always pkill dunst && dunst &
exec blueman-applet
# exec pkill dunst; dunst
exec dunst
exec blueman-applet &
exec tmux start-server &