From d59e32339d512e4655b250563080e2507b58c698 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Sun, 9 Sep 2018 08:27:33 +0200 Subject: [PATCH] xinitrc with wpa_gui, volumecontrol in bar fixed --- x/.local/bin/bar | 2 +- x/.xinitrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/x/.local/bin/bar b/x/.local/bin/bar index c1a061b..708160e 100755 --- a/x/.local/bin/bar +++ b/x/.local/bin/bar @@ -17,7 +17,7 @@ eval $(xdotool search --onlyvisible trayer getwindowgeometry --shell) echo \ "W $wlan"\ - "♪ $(pactl list sinks | grep -Po "(?<=Volume: front)[^%]*" | grep -o "100$") |"\ + "♪ $(pactl list sinks | grep -Po "(?<=Volume: front)[^%]*" | grep -o "[0-9]\?[0-9][0-9]$") |"\ "⚡$bat"\ "Dsk: $(df -h | grep '/$' | awk '{print $4"/"$2}') |"\ "$(date +"%Y-%m-%d %H:%M:%S") "\ diff --git a/x/.xinitrc b/x/.xinitrc index 7966201..3b7197f 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -3,6 +3,7 @@ export _JAVA_AWT_WM_NONREPARENTING=1 dunst & trayer --align right --widthtype request --SetPartialStrut false --height 22 & +/usr/sbin/wpa_gui -t & eval "$(gpg-agent --daemon)" xrdb -merge ~/.Xresources -- 2.20.1