diff --git a/dotfiles/polybar.org b/dotfiles/polybar.org index d43c0cc..302bad0 100644 --- a/dotfiles/polybar.org +++ b/dotfiles/polybar.org @@ -53,7 +53,6 @@ margin-bottom = 5 * Top Bar #+BEGIN_SRC conf [bar/top] - # monitor = ${env:MONITOR:eDP1} enable-ipc = true override-redirect = false bottom = false @@ -79,13 +78,10 @@ margin-bottom = 5 font-0 = SauceCodePro Nerd Font:style=Medium,Regular:pixelsize=10;1 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-2 = Weather Icons:size=10;1 - # font-3 = siji:pixelsize=10;1 - # modules-left = mpd pulseaudio - # modules-center = i3 xwindow modules-left = i3 modules-center = xwindow - modules-right = nordvpn unread_mail cpu battery temperature date + modules-right = unread_mail cpu battery temperature date tray-position = right tray-padding = 2 @@ -99,7 +95,6 @@ margin-bottom = 5 * Bottom Bar #+BEGIN_SRC conf [bar/bottom] - # monitor = ${env:MONITOR:eDP1} enable-ipc = true override-redirect = false bottom = true @@ -129,7 +124,7 @@ margin-bottom = 5 modules-left = mpd pulseaudio # modules-center = xwindow - modules-right = screenshot weather emacs caffeine redshift + modules-right = filesystem xkeyboard nordvpn chromecast screenshot weather emacs caffeine redshift # tray-position = right # tray-padding = 2 @@ -147,7 +142,7 @@ margin-bottom = 5 label = %title:0:30:...% #+END_SRC -* Current Layour of the Keyboard +* Current Layout of the Keyboard #+BEGIN_SRC conf [module/xkeyboard] type = internal/xkeyboard @@ -155,7 +150,6 @@ margin-bottom = 5 # List of indicators to ignore blacklist-0 = num lock - format = format-prefix = " " format-prefix-foreground = ${colors.foreground} @@ -175,7 +169,7 @@ margin-bottom = 5 # List of mountpoints to display mount-0 = / - label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% + label-mounted = %{Fcolors.blue}%mountpoint%%{F-}: %percentage_used%% label-unmounted = %mountpoint% label-unmounted-foreground = ${colors.comments} #+END_SRC @@ -191,12 +185,12 @@ margin-bottom = 5 ** TODO - Choose some nice icons #+BEGIN_SRC conf +ws-icon-default =  ws-icon-0 = 1; ws-icon-1 = 2; ws-icon-2 = 3; ws-icon-3 = 4; ws-icon-4 = 5; -ws-icon-default =  #+END_SRC #+BEGIN_SRC conf @@ -243,7 +237,7 @@ label-urgent-padding = 1 #+BEGIN_SRC conf [module/mpd] type = internal/mpd -format-online = %{A1:termite -e "ncmpcpp" &:}%{A} +format-online = %{A1:termite -e "ncmpcpp" &:}%{A} format-online-spacing = 0 format-online-padding = 0 @@ -297,126 +291,123 @@ ramp-11 =  * CPU Usage #+BEGIN_SRC conf -[module/cpu] -type = internal/cpu -interval = 2 + [module/cpu] + type = internal/cpu + interval = 2 -format-prefix-foreground = ${colors.foreground} + format-prefix-foreground = ${colors.foreground} -format-underline = ${colors.background} + format-underline = ${colors.background} -label = %{A1:termite -e "htop" &:} ﬙ %percentage:2%% %{A} + label = %{A1:termite -e "htop" &:} ﬙ %percentage:2%% %{A} #+END_SRC * Available Memory #+BEGIN_SRC conf -[module/memory] -type = internal/memory + [module/memory] + type = internal/memory -interval = 2 + interval = 2 -format-prefix = " " + format-prefix = " " -format-prefix-foreground = ${colors.foreground-dark} -format-underline = #4bffdc + format-prefix-foreground = ${colors.foreground-dark} + format-underline = #4bffdc -label = %percentage_used%% + label = %percentage_used%% #+END_SRC * Date #+BEGIN_SRC conf -[module/date] -type = internal/date -interval = 1 + [module/date] + type = internal/date + interval = 1 -# Open google calendar on left right -date = %{A1:qutebrowser https\://calendar.google.com/ &:} %d-%m%{A} -date-alt = "%{A1:qutebrowser https\://calendar.google.com/ &:} %d-%m-%Y%{A}" + # Open google calendar on left right + date = %{A1:$BROWSER https\://calendar.google.com/ &:} %d-%m%{A} + date-alt = "%{A1:$BROWSER https\://calendar.google.com/ &:} %d-%m-%Y%{A}" -time =  %H:%M -time-alt =  %H:%M:%S + time =  %H:%M + time-alt =  %H:%M:%S -label = %date% %time% + label = %date% %time% #+END_SRC * Sound Volume #+BEGIN_SRC conf -[module/pulseaudio] -type = internal/pulseaudio + [module/pulseaudio] + type = internal/pulseaudio -# Open pavucontrol on left right -format-volume =%{A1:pavucontrol &:} %{A} + # Open pavucontrol on left right + format-volume =%{A1:pavucontrol &:} %{A} -label-volume = %percentage%% -label-volume-foreground = ${root.foreground} + label-volume = %percentage%% + label-volume-foreground = ${root.foreground} -label-muted = ﱝ muted + label-muted = ﱝ muted -bar-volume-width = 10 -bar-volume-foreground-0 = ${colors.green} -bar-volume-foreground-1 = ${colors.green} -bar-volume-foreground-2 = ${colors.blue} -bar-volume-foreground-3 = ${colors.blue} -bar-volume-foreground-4 = ${colors.red} -bar-volume-foreground-5 = ${colors.red} -bar-volume-foreground-6 = ${colors.red} -bar-volume-gradient = false -bar-volume-indicator = | -bar-volume-indicator-font = 2 -bar-volume-fill = ─ -bar-volume-fill-font = 2 -bar-volume-empty = ─ -bar-volume-empty-font = 2 -bar-volume-empty-foreground = ${colors.foreground} + bar-volume-width = 10 + bar-volume-foreground-0 = ${colors.green} + bar-volume-foreground-1 = ${colors.green} + bar-volume-foreground-2 = ${colors.blue} + bar-volume-foreground-3 = ${colors.blue} + bar-volume-foreground-4 = ${colors.red} + bar-volume-foreground-5 = ${colors.red} + bar-volume-foreground-6 = ${colors.red} + bar-volume-gradient = false + bar-volume-indicator = | + bar-volume-indicator-font = 2 + bar-volume-fill = ─ + bar-volume-fill-font = 2 + bar-volume-empty = ─ + bar-volume-empty-font = 2 + bar-volume-empty-foreground = ${colors.foreground} #+END_SRC * Battery #+BEGIN_SRC conf -# TODO - open battery manager on click -[module/battery] -type = internal/battery + [module/battery] + type = internal/battery -battery = BAT0 -adapter = ADP1 -full-at = 95 + battery = BAT0 + adapter = ADP1 + full-at = 95 -format-charging = -format-charging-underline = ${colors.blue} + format-charging = %{A1:xfce4-power-manager-settings &:} %{A} + format-charging-underline = ${colors.blue} -format-discharging = -format-discharging-underline = ${colors.red} + format-discharging = %{A1:xfce4-power-manager-settings &:} %{A} + format-discharging-underline = ${colors.red} -format-full-prefix = " " -format-full-prefix-foreground = ${colors.foreground} -format-full-underline = ${colors.background} + format-full-prefix = %{A1:xfce4-power-manager-settings &:} %{A} + format-full-prefix-foreground = ${colors.foreground} + format-full-underline = ${colors.background} -ramp-capacity-0 =  -ramp-capacity-1 =  -ramp-capacity-2 =  -ramp-capacity-3 =  -ramp-capacity-4 =  -ramp-capacity-foreground = ${colors.foreground} + ramp-capacity-0 =  + ramp-capacity-1 =  + ramp-capacity-2 =  + ramp-capacity-3 =  + ramp-capacity-4 =  + ramp-capacity-foreground = ${colors.foreground} -animation-charging-0 =  -animation-charging-1 =  -animation-charging-2 =  -animation-charging-3 =  -animation-charging-4 =  -animation-charging-foreground = ${colors.foreground} -animation-charging-framerate = 750 + animation-charging-0 =  + animation-charging-1 =  + animation-charging-2 =  + animation-charging-3 =  + animation-charging-4 =  + animation-charging-foreground = ${colors.foreground} + animation-charging-framerate = 750 -animation-discharging-0 =  -animation-discharging-1 =  -animation-discharging-2 =  -animation-discharging-3 =  -animation-discharging-4 =  -animation-discharging-foreground = ${colors.foreground} -animation-discharging-framerate = 750 + animation-discharging-0 =  + animation-discharging-1 =  + animation-discharging-2 =  + animation-discharging-3 =  + animation-discharging-4 =  + animation-discharging-foreground = ${colors.foreground} + animation-discharging-framerate = 750 #+END_SRC -* TODO Temperature -- [ ] Open temperature manager on click - +* Temperature #+BEGIN_SRC conf [module/temperature] type = internal/temperature @@ -427,7 +418,7 @@ animation-discharging-framerate = 750 ;; Temperature off one cpu core hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input - format =