From 7d8cb3c447b66d3d5474b7b3ce099ab51ccb5c00 Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 19 Jun 2018 19:11:21 -0500 Subject: [PATCH] Everything: Switch away from bitmap fonts --- .config/conky/conky.conf | 15 +----- .config/dunst/dunstrc | 2 +- .config/polybar/config | 107 +++++++++++++-------------------------- .config/rofi/config.rasi | 2 +- 4 files changed, 38 insertions(+), 88 deletions(-) diff --git a/.config/conky/conky.conf b/.config/conky/conky.conf index e1aec9c0..07240801 100644 --- a/.config/conky/conky.conf +++ b/.config/conky/conky.conf @@ -14,7 +14,7 @@ conky.config = { update_interval = 1, use_xft = true, - font = 'Terminus:size=9', + font = 'Roboto:size=10', default_color = '#ebdbb2', color1 = '282828', -- Background color2 = 'ebdbb2', -- Foreground @@ -40,27 +40,16 @@ conky.config = { conky.text = [[ ${image ~/.face -p 0,0 -s 48x48}${alignr}$nodename - ${alignr}${time %A, %B %d, %Y} ${alignr}${time %I:%M %p} ${color3}$hr$color CPU:${alignr}$freq_g GHz ${color8}${cpugraph cpu0 40 $color8 $color4 -t}$color - cpu1 ${color8}${cpubar cpu1 9}$color - cpu2 ${color8}${cpubar cpu2 9}$color - cpu3 ${color8}${cpubar cpu3 9}$color - cpu4 ${color8}${cpubar cpu4 9}$color ${color3}$hr$color MEMORY:${alignr}$mem / $memmax ${color9}${memgraph 40}$color - mem ${color9}${membar 9}$color - swap ${color9}${swapbar 9}$color ${color3}$hr$color -DISK: -${color7}${diskiograph /dev/sda 40}$color - / ${color7}${fs_bar 9 /}$color - /boot ${color7}${fs_bar 9 /boot}$color - /home ${color7}${fs_bar 9 /home}$color +DISK:${color7}${diskiograph /dev/sda 40}$color ${color3}$hr$color${if_up wlp1s0} WLAN:${alignr}${addr wlp1s0} on $wireless_essid ${color6}${downspeedgraph wlp1s0 20}$color$endif${if_up wlp5s0} diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 73098f9c..93908a13 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -29,7 +29,7 @@ # the top and down respectively. # The width can be negative. In this case the actual width is the # screen width minus the width defined in within the geometry option. - geometry = "400x8-10-48" + geometry = "400x8-6-44" # Show how many messages are currently hidden (because of geometry). indicate_hidden = yes diff --git a/.config/polybar/config b/.config/polybar/config index 6e3e4b20..81e2f4ed 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -22,7 +22,6 @@ icon-volume = ${res/colors.primary} icon-wlan = ${xrdb:color14} icon-wm = ${xrdb:color12} icon-xbacklight = ${res/colors.primary} -icon-xwindow = ${res/colors.primary} background = ${xrdb:background} background-alt = ${xrdb:color8} @@ -31,13 +30,13 @@ foreground-dark = ${xrdb:color8} border = #3c3836 [res/config] -padding = 2 +padding = 4 [res/fonts] -font-0 = "Terminus:size=9;2" -font-1 = "Siji:size=9;2" -font-2 = "FontAwesome:size=10;2" -font-3 = "Material Design Icons:size=11;3" +font-0 = "Roboto:size=10;2" +font-1 = "FontAwesome:size=10;2" +font-2 = "Material Design Icons:size=11;3" +font-3 = font-4 = #======================================== @@ -49,8 +48,10 @@ font-4 = [template/bar] # Rendering of the bar -width = 100% -height = 30 +width = 94% +height = 34 +offset-x = 3% +offset-y = 0 bottom = true wm-restack = ${env:PB_WM_RESTACK:bspwm} @@ -63,6 +64,7 @@ background = ${res/colors.background} foreground = ${res/colors.foreground} border-size = 4 +border-bottom-size = 0 border-color = ${res/colors.border} # Module fonts @@ -78,9 +80,9 @@ font-4 = ${res/fonts.font-4} monitor = ${env:PB_MONITOR:eDP-1} inherit = template/bar -modules-left = bspwm cpu memory fs-home +modules-left = bspwm | cpu memory fs-home modules-center = xwindow -modules-right = wlan xbacklight volume battery date +modules-right = wlan xbacklight volume battery | date [bar/secondary] monitor = ${env:PB_MONITOR} @@ -110,38 +112,11 @@ content-background = ${res/colors.border} #==================== [module/bspwm] type = internal/bspwm -format = +format = enable-scroll = false pin-workspaces = true -ws-icon-0 = 1; -ws-icon-1 = 2; -ws-icon-2 = 3; -ws-icon-3 = 4; -ws-icon-4 = 5; -ws-icon-5 = 6; -ws-icon-6 = 7; -ws-icon-7 = 8; -ws-icon-default =  - -label-monocle =  -label-monocle-foreground = ${res/colors.icon-wm} -label-tiled =  -label-tiled-foreground = ${res/colors.icon-wm} -label-fullscreen =  -label-fullscreen-foreground = ${res/colors.icon-wm} -label-floating =  -label-floating-foreground = ${res/colors.icon-wm} -label-pseudotiled =  -label-pseudotiled-foreground = ${res/colors.icon-wm} -label-locked =  -label-locked-foreground = ${res/colors.icon-wm} -label-sticky =  -label-sticky-foreground = ${res/colors.icon-wm} -label-private =  -label-private-foreground = ${res/colors.icon-wm} - -label-focused = %icon% +label-focused = %name% label-focused-padding = ${res/config.padding} label-focused-foreground = ${res/colors.background} label-focused-background = ${res/colors.icon-wm} @@ -162,7 +137,6 @@ label-empty = ${self.label-focused} label-empty-padding = ${res/config.padding} label-empty-foreground = ${res/colors.background-alt} - [module/battery] type = internal/battery format-charging = @@ -174,18 +148,14 @@ interval = 15 label-charging = %percentage%% label-discharging = %percentage%% -label-full =  +label-full =  label-full-foreground = ${res/colors.alert} -ramp-capacity-0=  -ramp-capacity-1=  -ramp-capacity-2=  -ramp-capacity-3=  -ramp-capacity-4=  -ramp-capacity-5=  -ramp-capacity-6=  -ramp-capacity-7=  -ramp-capacity-8=  +ramp-capacity-0=  +ramp-capacity-1=  +ramp-capacity-2=  +ramp-capacity-3=  +ramp-capacity-4=  ramp-capacity-foreground = ${res/colors.icon-battery} animation-charging-0 = ${self.ramp-capacity-0} @@ -193,17 +163,13 @@ animation-charging-1 = ${self.ramp-capacity-1} animation-charging-2 = ${self.ramp-capacity-2} animation-charging-3 = ${self.ramp-capacity-3} animation-charging-4 = ${self.ramp-capacity-4} -animation-charging-5 = ${self.ramp-capacity-5} -animation-charging-6 = ${self.ramp-capacity-6} -animation-charging-7 = ${self.ramp-capacity-7} -animation-charging-8 = ${self.ramp-capacity-8} animation-charging-framerate = 500 animation-charging-foreground = ${res/colors.icon-battery} [module/cpu] type = internal/cpu format =