From 8d3e6e27faddb670fceababa08f52df7a12af107 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 14 Mar 2017 13:08:34 -0700 Subject: [PATCH] [Linux] Properly handle multiple spaces from column in rofi_systemd --- dotfiles/lib/bin/rofi_systemd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/lib/bin/rofi_systemd.sh b/dotfiles/lib/bin/rofi_systemd.sh index 81750c6b..cee1ef09 100755 --- a/dotfiles/lib/bin/rofi_systemd.sh +++ b/dotfiles/lib/bin/rofi_systemd.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env zsh export SYSTEMD_COLORS=0 @@ -22,7 +22,7 @@ function select_service_and_act { -kb-custom-1 "${enable}" \ -kb-custom-2 "${disable}" \ -kb-custom-3 "${stop}" \ - -kb-custom-4 "${restart}") + -kb-custom-4 "${restart}" | sed -n 's/ \+/ /gp') rofi_exit="$?"