From 2a419b908e42f101f7ec7feee9e212c3c81a7fab Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 18 Dec 2018 12:53:34 -0500 Subject: [PATCH] move dunst on screen change --- .scripts/i3cmds/displayselect | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.scripts/i3cmds/displayselect b/.scripts/i3cmds/displayselect index a8cf2f5..c9a2bd9 100755 --- a/.scripts/i3cmds/displayselect +++ b/.scripts/i3cmds/displayselect @@ -45,3 +45,5 @@ esac feh --bg-scale "$HOME/.config/wall.png" # Re-remap keys if keyboard added (for laptop bases) remaps +# Restart dunst to ensure proper location on screen +pgrep -x dunst >/dev/null && killall dunst && setsid dunst &