From 1297a2e0ec774a13c9900b63c2b4afbb6582a5d3 Mon Sep 17 00:00:00 2001 From: Peter Son Struschka Date: Wed, 10 Oct 2018 17:19:29 +0700 Subject: multiple changes mostly to zsh and polybar --- i3wm/.config/polybar/config | 101 +++++++++++++++++++++++++++++++---- i3wm/.config/polybar/launch.sh | 3 +- i3wm/.config/polybar/task_polybar.sh | 7 +++ 3 files changed, 99 insertions(+), 12 deletions(-) create mode 100755 i3wm/.config/polybar/task_polybar.sh (limited to 'i3wm/.config/polybar') diff --git a/i3wm/.config/polybar/config b/i3wm/.config/polybar/config index e84be51..21b5a30 100644 --- a/i3wm/.config/polybar/config +++ b/i3wm/.config/polybar/config @@ -17,7 +17,7 @@ ;========================================================== [colors] -n;background = ${xrdb:color0:#222} +;background = ${xrdb:color0:#222} background = #222 background-alt = #444 ;foreground = ${xrdb:color7:#222} @@ -28,13 +28,13 @@ secondary = #e60053 alert = #bd2c40 [bar/topbar] -;monitor = ${env:MONITOR:HDMI-1} +monitor = ${env:MONITOR:eDP-1} width = 100% height = 30 ;offset-x = 1% ;offset-y = 1% radius = 6.0 -fixed-center = false +fixed-center = true background = ${colors.background} foreground = ${colors.foreground} @@ -59,9 +59,9 @@ font-3 = "Font Awesome 5 Brands:style=Regular:pixelsize=8;1" font-4 = "Font Awesome 5 Free:style=Regular:pixelsize=8;1" font-5 = "Font Awesome 5 Free:style=Solid:pixelsize=8;1" -modules-left = i3 xwindow +modules-left = hostname xwindow modules-center = spotify -modules-right = filesystem backlight pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu +modules-right = taskwarrior tray-position = right tray-padding = 2 @@ -70,24 +70,82 @@ tray-padding = 2 tray-scale = 1 ;wm-restack = bspwm -;wm-restack = i3 +wm-restack = i3 -;override-redirect = true +override-redirect = false ;scroll-up = bspwm-desknext ;scroll-down = bspwm-deskprev -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev cursor-click = pointer cursor-scroll = ns-resize +[bar/topbar-second] +monitor = ${env:MONITOR:eDP-1} +width = 100% +height = 30 +;offset-x = 1% +;offset-y = 0 +;radius = 1.0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 10 +border-top-size = 0 +border-bottom-size = 0 +border-color = #00000000 + +padding-left = 2 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 +font-3 = "Font Awesome 5 Brands:style=Regular:pixelsize=8;1" +font-4 = "Font Awesome 5 Free:style=Regular:pixelsize=8;1" +font-5 = "Font Awesome 5 Free:style=Solid:pixelsize=8;1" + +modules-left = i3 +modules-center = +modules-right = filesystem backlight pulseaudio xkeyboard memory cpu wlan eth battery temperature date + +wm-restack = i3 + +override-redirect = false + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/hostname] +type = custom/script +interval = 256 +format = "