From 48f32d29cf9b33ea4b2786dedef1a4031a1e337f Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sun, 18 Apr 2021 01:27:16 +0300 Subject: [PATCH] Abuse fish-shell for XDG_RUNTIME_DIR --- home/.config/fish/conf.d/env.fish | 1 + home/.config/mako/config | 2 +- home/.local/bin/startwl | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/home/.config/fish/conf.d/env.fish b/home/.config/fish/conf.d/env.fish index 9b58cf1..1926124 100644 --- a/home/.config/fish/conf.d/env.fish +++ b/home/.config/fish/conf.d/env.fish @@ -19,6 +19,7 @@ set -gx XDG_CONFIG_HOME $HOME/.config set -gx XDG_CACHE_HOME $HOME/.cache set -gx XDG_DATA_HOME $HOME/.local/share set -gx XDG_DATA_DIRS $HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share +set -gx XDG_RUNTIME_DIR /tmp/fish.$USER # alternate paths set -gx LESSHISTFILE - set -gx MOST_INITFILE $XDG_CONFIG_HOME/mostrc diff --git a/home/.config/mako/config b/home/.config/mako/config index 22c7829..bed5a3e 100644 --- a/home/.config/mako/config +++ b/home/.config/mako/config @@ -1,7 +1,7 @@ font=Sarasa Mono J 12 border-size=4 border-radius=10 -margin=20,10,10 +margin=20,20,10 width=300 max-visible=10 default-timeout=5000 diff --git a/home/.local/bin/startwl b/home/.local/bin/startwl index 858fff2..d8c50ab 100755 --- a/home/.local/bin/startwl +++ b/home/.local/bin/startwl @@ -13,11 +13,11 @@ then mkdir -p "${XDG_RUNTIME_DIR}" chmod 0700 "${XDG_RUNTIME_DIR}" fi - - # Assure we use seatd - # export LIBSEAT_BACKEND=seatd fi +# Valid values: seatd, logind +# export LIBSEAT_BACKEND=seatd + export XDG_SESSION_TYPE=wayland export QT_QPA_PLATFORM=wayland-egl export QT_WAYLAND_DISABLE_WINDOWDECORATION=1