From 2e8c2613e920de52870edf365dd5932de70dd304 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 11 Mar 2017 14:59:55 -0800 Subject: [PATCH] [Linux] Add prompt and columns to rofi_systemd.sh --- dotfiles/lib/bin/rofi_systemd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotfiles/lib/bin/rofi_systemd.sh b/dotfiles/lib/bin/rofi_systemd.sh index d692e2d0..81750c6b 100755 --- a/dotfiles/lib/bin/rofi_systemd.sh +++ b/dotfiles/lib/bin/rofi_systemd.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env zsh +#!/usr/bin/env sh export SYSTEMD_COLORS=0 @@ -18,7 +18,7 @@ stop="Alt+k" restart="Alt+r" function select_service_and_act { - selection=$(rofi -dmenu -i \ + selection=$(rofi -dmenu -i -p "systemd unit: " \ -kb-custom-1 "${enable}" \ -kb-custom-2 "${disable}" \ -kb-custom-3 "${stop}" \ @@ -55,4 +55,4 @@ function select_service_and_act { esac } -{ user_units; system_units } | select_service_and_act +{ user_units; system_units; } | column -tc 1 | select_service_and_act