From 53125d6f432722f7aa45c65a59a54a9f8375acde Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Mon, 25 Oct 2021 14:25:31 +0200 Subject: [PATCH] Remove bspwm config --- polybar.org | 118 ++++++++++++++++++++++++++-------------------------- 1 file changed, 60 insertions(+), 58 deletions(-) diff --git a/polybar.org b/polybar.org index 64cd6a4..e60c970 100644 --- a/polybar.org +++ b/polybar.org @@ -36,7 +36,7 @@ margin-bottom = 0 #+BEGIN_SRC conf [bar/top] enable-ipc = true -override-redirect = false +# override-redirect = false bottom = false fixed-center = false @@ -61,11 +61,11 @@ font-0 = Hack 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 -modules-left = i3 bspwm xwindow +modules-left = i3 xwindow modules-center = -modules-right = pulseaudio wired-network wireless-network nordvpn bluetooth redshift lockscreen dunst packages unread_news unread_mail calendar temperature battery date +modules-right = pulseaudio wired-network wireless-network wireguard nordvpn bluetooth redshift cursor lockscreen dunst packages unread_news unread_mail calendar temperature battery date -wm-restack = i3 +# wm-restack = i3 tray-position = right tray-detached = true @@ -125,53 +125,11 @@ label-urgent-background = ${colors.red} label-urgent-padding = 1 #+END_SRC -* BSPWM -#+begin_src conf -[module/bspwm] -type = internal/bspwm - -pin-workspaces = true -enable-click = true -enable-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -fuzzy-match = false - - -ws-icon-0 = code; -ws-icon-1 = web; -ws-icon-2 = mail; -ws-icon-3 = misc; -ws-icon-4 = figs;ﬧ -ws-icon-default = - -label-focused = %icon% -label-focused-foreground = ${colors.bg} -label-focused-background = ${colors.aqua} -label-focused-underline= ${colors.aqua} -label-focused-padding = 1 - -label-occupied = %icon% -label-occupied-underline = ${colors.fg} -label-occupied-padding = 1 - -label-urgent = %icon% -label-urgent-background = ${colors.red} -label-urgent-padding = 1 - -label-empty = %icon% -label-empty-foreground = ${colors.fg} -label-empty-padding = 1 -#+end_src - * Music using MPD #+BEGIN_SRC conf [module/mpd] type = internal/mpd -format-online = %{A1:$TERMINAL -e "ncmpcpp" &:}%{A} +format-online = %{A1:$TERMINAL -e ncmpcpp &:}%{A} format-online-spacing = 0 format-online-padding = 0 @@ -232,7 +190,7 @@ interval = 2 format-prefix-foreground = ${colors.fg} format-underline = ${colors.bg} -label = %{A1:$TERMINAL -e "htop" &:}﬙ %percentage:2%%%{A} +label = %{A1:$TERMINAL -e htop &:}﬙ %percentage:2%%%{A} #+END_SRC * Date @@ -242,8 +200,8 @@ type = internal/date interval = 1 # Open google calendar on left right -date = %{A1:$TERMINAL -e "ikhal" &:} %d-%m%{A} -date-alt = "%{A1:$TERMINAL -e \"ikhal\" &:} %d-%m-%Y%{A}" +date = %{A1:$TERMINAL --title khal -e ikhal &:} %d-%m%{A} +date-alt = "%{A1:$TERMINAL --title khal -e ikhal &:} %d-%m-%Y%{A}" time =  %H:%M time-alt =  %H:%M:%S @@ -315,10 +273,11 @@ ramp-capacity-4 =  type = internal/temperature interval = 2 thermal-zone = 0 -warn-temperature = 70 -hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input +base-temperature = 50 +warn-temperature = 80 +hwmon-path = /sys/class/thermal/thermal_zone10/temp units = false -format = %{A1:$TERMINAL --class="Floating" -e "watch sensors" &:}