dotfiles/xsession-turbo
Irrlicht 8c7f49cd53
[dunst][x11] Specify monitor where notification appear.
On Piston, wi only want notifications to appear on a specific monitor
and not follow the mouse. The monitor need to be specified in the
configuration. Dunst doesn't support the use of environment variable in
configuration file. So, the dunst configuration is genrated on startup
using `envsubst` command.

Two new environment variables are needed:

- PATH_DOTFILE_DIR: the base directory of the repository where there's the
Dunst configuration file (this very repository).
- NOTIFICATION_MONITOR: the name or number of the monitor where
notifications should appear as specified by Dunst configuration
documentation.
2026-10-23 18:26:59 +02:00

6 lines
293 B
Text

export I3_SCREENSHOT_DIR="$HOME/media/picture/screenshot"
export I3_LOCK_BACKGROUND="$HOME/media/picture/background/desktop/lock.png"
export PATH_DOTFILE_DIR="$HOME/repo/dotfiles"
export NOTIFICATION_MONITOR="eDP-1"
xss-lock -l --session=$XDG_SESSION_ID -- i3lock -n -i $I3_LOCK_BACKGROUND &