diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc##template similarity index 99% rename from .config/dunst/dunstrc rename to .config/dunst/dunstrc##template index 23ce44f..5321496 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc##template @@ -2,7 +2,7 @@ ### Display ### # Which monitor should the notifications be displayed on. - monitor = 0 + monitor = {{ env.DUNST_MONITOR }} # Display notification on focused monitor. Possible modes are: # mouse: follow mouse pointer diff --git a/.config/env.d/98-local-defaults b/.config/env.d/98-local-defaults new file mode 100755 index 0000000..d77b05f --- /dev/null +++ b/.config/env.d/98-local-defaults @@ -0,0 +1,8 @@ +#!/bin/sh + +export AUTOSTART_DISPLAY="" + +export MONITOR_PRIMARY="primary" +export MONITOR_SECONDARY="secondary" + +export DUNST_MONITOR="0" diff --git a/.config/env.d/99-local##hostname.portalo b/.config/env.d/99-local##hostname.portalo index 087b50a..9fd9097 100755 --- a/.config/env.d/99-local##hostname.portalo +++ b/.config/env.d/99-local##hostname.portalo @@ -4,3 +4,5 @@ export AUTOSTART_DISPLAY="Hyprland" export MONITOR_PRIMARY="DisplayPort-0" export MONITOR_SECONDARY="HDMI-A-0" + +export DUNST_MONITOR="$MONITOR_SECONDARY"