From 2957e5ab02b9cbf4483829bc1f447d7060cc8a37 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 26 Nov 2016 11:05:21 -0800 Subject: [PATCH] [Linux] Add rofi_restart_service.sh --- dotfiles/lib/bin/rofi_restart_service.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 dotfiles/lib/bin/rofi_restart_service.sh diff --git a/dotfiles/lib/bin/rofi_restart_service.sh b/dotfiles/lib/bin/rofi_restart_service.sh new file mode 100755 index 00000000..f1b2a9b6 --- /dev/null +++ b/dotfiles/lib/bin/rofi_restart_service.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env zsh + +systemctl --user | tail -n +2 | head -n -6 | + egrep -v "sys-devices" | get_cols 1 | rofi -dmenu -i | xargs systemctl --user restart