diff options
-rw-r--r-- | .config/env | 5 | ||||
-rwxr-xr-x | .config/wayland/init.sh | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.config/env b/.config/env index afc6d1d..761ef8b 100644 --- a/.config/env +++ b/.config/env @@ -99,7 +99,12 @@ export MPD_HOST="$XDG_DATA_HOME"/mpd/socket export RUSTFLAGS='-L /usr/local/lib' export WWW_HOME='https://start.duckduckgo.com/' export YTFZF_HIST='0' + +# wayland export WLR_DRM_NO_ATOMIC=1 +export XDG_SESSION_TYPE=wayland +export XDG_CURRENT_DESKTOP=dwl +export MOZ_ENABLE_WAYLAND=1 # PATH export PATH="$HOME"/.local/bin:"$HOME"/.local/bin/status:/usr/local/llvm13/bin:"$HOME"/.pyenv/bin:"$PATH" diff --git a/.config/wayland/init.sh b/.config/wayland/init.sh index d83d536..62d90ed 100755 --- a/.config/wayland/init.sh +++ b/.config/wayland/init.sh @@ -1,5 +1,7 @@ #!/bin/sh +source "$HOME"/.config/env + case $(hostname -s) in mother) icon=" " @@ -46,8 +48,9 @@ sleep 1 startif pipewire-pulse sleep 1 startif wireplumber +export QT_QPA_PLATFORM=xcb startif copyq startif nextcloud startif stalonetray -notify-send -u normal 'Welcome' "$icon Welcome back, partner!" firefox & +notify-send -u normal 'welcome' "$icon welcome back, partner!" |