From 37ff3b6d8a2878668d92168b709b3aed9a9acd13 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 6 May 2018 02:15:38 -0500 Subject: [PATCH] Polybar, rofi: Miscellaneous fixes --- .Xresources | 5 ++--- .config/kglobalshortcutsrc | 1 - .config/polybar/config | 2 +- .config/polybar/start.sh | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.Xresources b/.Xresources index d7ae7bcc..3846cb4d 100644 --- a/.Xresources +++ b/.Xresources @@ -64,8 +64,7 @@ rofi.matching: fuzzy rofi.color-enabled: true rofi.show-icons: true rofi.drun-icon-theme: Papirus-Color -rofi.columns: 3 -rofi.font: Helvetica CE 10 +rofi.font: Terminus 9 rofi.bw: 4 rofi.padding: 8 ! BG FG BG-ALT HLBG HLFG @@ -74,5 +73,5 @@ rofi.color-normal: S_base03, S_base0, S_base03, S_base0, S_base03 rofi.color-active: S_base03, S_blue, S_base02, S_blue, S_base03 rofi.color-urgent: S_base03, S_yellow, S_base02, S_yellow, S_base03 -rofi.width: 48 +rofi.width: 32 diff --git a/.config/kglobalshortcutsrc b/.config/kglobalshortcutsrc index 516412ac..f128a51b 100644 --- a/.config/kglobalshortcutsrc +++ b/.config/kglobalshortcutsrc @@ -294,7 +294,6 @@ activate task manager entry 7=Meta+7,Meta+7,Activate Task Manager Entry 7 activate task manager entry 8=Meta+8,Meta+8,Activate Task Manager Entry 8 activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9 activate widget 25=none,none,Activate Pager Widget -activate widget 50=Alt+F1,none,Activate Application Launcher Widget clear-history=none,none,Clear Clipboard History clipboard_action=Ctrl+Alt+X,Ctrl+Alt+X,Enable Clipboard Actions cycleNextAction=none,none,Next History Item diff --git a/.config/polybar/config b/.config/polybar/config index 2409f3cb..92b21b9f 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -72,7 +72,7 @@ font-4 = ${res/fonts.font-4} # BARS #==================== [bar/primary-top] -monitor = ${env:PB_MONITOR} +monitor = ${env:PB_MONITOR:eDP-1} inherit = template/bar modules-left = i3 bspwm cpu memory fs-home update-arch diff --git a/.config/polybar/start.sh b/.config/polybar/start.sh index 4cd5746c..338ac707 100755 --- a/.config/polybar/start.sh +++ b/.config/polybar/start.sh @@ -11,7 +11,7 @@ export PB_WM_RESTACK=bspwm # Starting with the primary monitor... export PB_MONITOR=$(xrandr -q | awk '/\/{print $1}') if [[ $PB_MONITOR == "" ]]; then - exit 1 + unset PB_MONITOR fi printf '[INFO] Starting Polybar primary on monitor $PB_MONITOR' polybar -r primary-top&