forked from colonelpanic/dotfiles
[Linux] Fix rofi_systemd.sh
This commit is contained in:
parent
b535ae1d4f
commit
11d7d7bc3c
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
export SYSTEMD_COLORS=0
|
export SYSTEMD_COLORS=0
|
||||||
|
|
||||||
@ -42,8 +42,8 @@ function select_service_and_act {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
service_name="$(printf $selection | get_cols 1 | tr -d ' ')"
|
service_name="$(printf $selection | awk '{ print $1 }' | tr -d ' ')"
|
||||||
is_user="$(printf $selection | get_cols 3)"
|
is_user="$(printf $selection | awk '{ print $3 }' )"
|
||||||
|
|
||||||
case "$is_user" in
|
case "$is_user" in
|
||||||
user*)
|
user*)
|
||||||
|
Loading…
Reference in New Issue
Block a user