From 92d257a6617080fdebc9a5b2c9a464478823f7f6 Mon Sep 17 00:00:00 2001 From: Asocia Date: Thu, 15 Jul 2021 19:51:54 +0300 Subject: [PATCH] Update aliases --- .aliases | 2 +- scripts/misc/restart_dunst.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 scripts/misc/restart_dunst.sh diff --git a/.aliases b/.aliases index 75238ed..9c8481b 100644 --- a/.aliases +++ b/.aliases @@ -1,4 +1,4 @@ -alias newbg="wal -i ~/Pictures/Wallpapers/Desktop/ --backend=haishoku" +alias newbg="wal -i ~/Pictures/Wallpapers/Desktop/ --backend=haishoku -o ~/scripts/misc/restart_dunst.sh" alias af=alias-finder alias ls=lsd alias lt="lsd --tree" diff --git a/scripts/misc/restart_dunst.sh b/scripts/misc/restart_dunst.sh new file mode 100755 index 0000000..0e2a9f5 --- /dev/null +++ b/scripts/misc/restart_dunst.sh @@ -0,0 +1,4 @@ +#!/bin/sh +killall dunst +dunst & +notify-send "Environment reloaded!"