diff --git a/dotfiles/lib/bin/rofi_restart_service.sh b/dotfiles/lib/bin/rofi_restart_service.sh index b3a72616..ecbc109f 100755 --- a/dotfiles/lib/bin/rofi_restart_service.sh +++ b/dotfiles/lib/bin/rofi_restart_service.sh @@ -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