forked from colonelpanic/dotfiles
[Linux] Make rofi_restart_service work for failed services
This commit is contained in:
parent
18ae198b6d
commit
4025f3757c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user