[Linux] Make rofi_restart_service work for failed services

This commit is contained in:
2016-12-05 15:42:48 -08:00
parent 18ae198b6d
commit 4025f3757c

View File

@@ -1,5 +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
systemctl --user list-unit-files | tail -n +2 | head -n -2 |
get_cols 1 | rofi -dmenu -i | xargs systemctl --user restart