From 89ca71d87523b49530a33d13d8b5161b4be4869f Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 15 Nov 2025 04:17:11 +0100 Subject: [PATCH] wayland: improved config by adding local config --- .config/wayland/wayland.conf | 4 ++-- .gitignore | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/wayland/wayland.conf b/.config/wayland/wayland.conf index c2fdbd1..8776a3f 100755 --- a/.config/wayland/wayland.conf +++ b/.config/wayland/wayland.conf @@ -3,7 +3,8 @@ exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP & nmcli radio wifi on & -~/.config/wayland/swayidle.sh & +[ -f "${HOME}/.config/wayland/swayidle.sh" ] && . "${HOME}/.config/wayland/swayidle.sh" & +[ -f "${HOME}/.config/wayland/wayland-local.conf" ] && . "${HOME}/.config/wayland/wayland-local.conf" & $STATUSBAR & # use environment variable xss-lock -- swaylock & # enable locking the screen upon sleep @@ -23,7 +24,6 @@ signal-desktop & Telegram & threema-beta & thunderbird & -# mattermost-desktop & # monitor toggle & # touchpad off & diff --git a/.gitignore b/.gitignore index 0d5c06e..5a0bcc9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .dotfiles .config/nvim/plugin/packer_compiled.lua +.config/wayland/wayland-local.conf