From a1524e9af998c61acd1a834a7c5f6998ad111291 Mon Sep 17 00:00:00 2001 From: DustVoice Date: Thu, 10 Sep 2020 18:35:23 +0200 Subject: [PATCH] Add xrdb to polybar, correct mistake and add polybar relaunch alias --- .Xresources | 2 +- .config/polybar/config | 2 +- .zsh_alias | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.Xresources b/.Xresources index a1d2d63..9ae04d3 100644 --- a/.Xresources +++ b/.Xresources @@ -19,7 +19,7 @@ *.color13: #FF92D0 *.color14: #9AEDFE *.color15: #E6E6E6 -*.font: Hack:size=8:antialias=true:autohint=true +*.font: Hack:size=10:antialias=true:autohint=true *.termName: xterm-256color *.shell: /usr/bin/zsh *.tabspaces: 4 diff --git a/.config/polybar/config b/.config/polybar/config index 89ec333..dda7f62 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -14,7 +14,7 @@ error = #ff5555 [bar/top] monitor = ${env:MONITOR:} dpi = ${xrdb:Xft.dpi:-1} -font-0 = Hack:size=10;2 +font-0 = ${xrdb:font:Hack:size=10:antialias=true:autohint=true} monitor-strict = false override-redirect = false bottom = false diff --git a/.zsh_alias b/.zsh_alias index 26a138f..30c7d10 100644 --- a/.zsh_alias +++ b/.zsh_alias @@ -63,6 +63,12 @@ alias screenkey-obs='screenkey-obs-func' # ====== alias firefox-private='firefox --private-window' # ====== + +# ====== +# Polybar +# ====== +alias polybar-launch="$HOME/.config/polybar/launch" +# ====== # === # ===