From 1b3cc72d4d2966124aed363bac2c3b2b8e8f8802 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Tue, 9 Apr 2019 21:56:49 -0400 Subject: [PATCH] Convert dunst pause/resume from aliases to scripts so that I can call them from dmenu --- bin/dunst_pause | 3 +++ bin/dunst_resume | 3 +++ lib/login_aliases.sh | 2 -- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100755 bin/dunst_pause create mode 100755 bin/dunst_resume diff --git a/bin/dunst_pause b/bin/dunst_pause new file mode 100755 index 0000000..b747a29 --- /dev/null +++ b/bin/dunst_pause @@ -0,0 +1,3 @@ +#! /bin/sh + +notify-send DUNST_COMMAND_PAUSE diff --git a/bin/dunst_resume b/bin/dunst_resume new file mode 100755 index 0000000..6e87771 --- /dev/null +++ b/bin/dunst_resume @@ -0,0 +1,3 @@ +#! /bin/sh + +notify-send DUNST_COMMAND_RESUME diff --git a/lib/login_aliases.sh b/lib/login_aliases.sh index a00e8d0..b1b49fd 100644 --- a/lib/login_aliases.sh +++ b/lib/login_aliases.sh @@ -5,5 +5,3 @@ alias tree='tree --dirsfirst' alias dotnet="$HOME/.dotnet/dotnet" alias fsi="dotnet $HOME/.dotnet/sdk/2.1.503/FSharp/fsi.exe" alias tm='tmux' -alias dunst_pause='notify-send DUNST_COMMAND_PAUSE' -alias dunst_resume='notify-send DUNST_COMMAND_RESUME' -- 2.20.1