From d4c3f94514f44913f50704ae24f7ecb4f44a7564 Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Tue, 11 Sep 2018 15:53:13 +0200 Subject: [PATCH] polybar --- polybar/config | 76 ++++++++++++++++------------------------------ polybar/polybar.sh | 1 - 2 files changed, 27 insertions(+), 50 deletions(-) diff --git a/polybar/config b/polybar/config index a07be1d..acd5ada 100644 --- a/polybar/config +++ b/polybar/config @@ -1,4 +1,4 @@ -;===================================================== +===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar @@ -51,10 +51,10 @@ scroll-down = i3wm-wsprev [bar/example_left] inherit = bar/example -monitor = ${env:MONITOR:DVI-D-1} +monitor = ${env:MONITOR:HDMI-0} modules-left = i3 -modules-center = -modules-right = spotify volume filesystem memory cpu gpu date +modules-center = xwindow +modules-right = spotify mpd volume filesystem memory gpu cpu date tray-position = right tray-padding = 2 ;tray-transparent = true @@ -63,21 +63,12 @@ tray-padding = 2 [bar/example_right] inherit = bar/example -monitor = ${env:MONITOR:HDMI-0} +monitor = ${env:MONITOR:DP-0} modules-left = i3 -modules-right = date - -[bar/example_laptop] -inherit = bar/example -modules-left = i3 -tray-position = right -tray-padding = 2 -modules-right = spotify volume filesystemroot memory cpu battery battery2 date -modules-center = xwindow [module/xwindow] type = internal/xwindow -label = %title:0::...% +label = %title:0:30:...% [module/xkeyboard] @@ -96,20 +87,13 @@ label-indicator-margin = 1 label-indicator-background = ${colors.secondary} label-indicator-underline = ${colors.secondary} -[module/filesystemroot] -type=internal/fs -interval = 25 -mount-0 = / -label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.foreground-alt} - -[module/filesystemrootscratch] +[module/filesystem] type = internal/fs interval = 25 mount-0 = / mount-1 = /scratch +mount-2 = /scratch2 label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% label-unmounted = %mountpoint% not mounted @@ -171,7 +155,7 @@ ws-icon-5 = 6;6 ws-icon-6 = 7; ws-icon-7 = 8; ws-icon-8 = 9; -ws-icon-9 = 10;9 +ws-icon-9 = 0;0 [module/mpd] type = internal/mpd @@ -215,7 +199,6 @@ format-prefix-foreground = ${colors.foreground-alt} format-underline = #f90000 label =  %percentage%% format =