From cb9e981c80476a7297ecd7c80ba9cd8eafe0f0d1 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 16 Sep 2020 10:21:01 +0200 Subject: Added XMonad confirmation before shutdown and notification on restart --- .zsh_aliases | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.zsh_aliases') diff --git a/.zsh_aliases b/.zsh_aliases index 1a0ffac..5627844 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -133,3 +133,7 @@ alias xclip='xclip -selection clipboard' pacman-url() { pacman -Si "$1" | grep URL | tr -s ' ' | cut -d ' ' -f 3 } + +grep-kill() { + ps aux | grep "$1" | tr -s ' ' | cut -d ' ' -f 2 | xargs kill +} -- cgit