This commit is contained in:
Michael Grote 2021-06-05 17:42:28 +02:00
parent 0f554d8c52
commit 66ff8b01fc
3 changed files with 11 additions and 20 deletions

View file

@ -181,4 +181,4 @@ bindsym $mod+r mode "resize"
#bar {
# status_command i3status
#}
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
exec_always --no-startup-id /home/mg/dotfiles/polybar/launch.sh

View file

@ -20,13 +20,13 @@ primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/example]
[bar/bar]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
width = 110%
height = 27
;offset-x = 1%
;offset-y = 1%
radius = 6.0
radius = 0.0
fixed-center = false
background = ${colors.background}
@ -48,9 +48,9 @@ font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = bspwm i3
modules-center = mpd
modules-right = xbacklight alsa memory cpu wlan eth battery temperature temperature1 temperature2 date powermenu
modules-left = i3
modules-center =
modules-right = xbacklight alsa memory cpu wlan eth battery temperature temp_gpu temp_nvme date powermenu
tray-position = right
tray-padding = 2
@ -87,15 +87,6 @@ label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/filesystem]
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/i3]
type = internal/i3
@ -265,7 +256,7 @@ animation-discharging-2 = 
animation-discharging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 750
[module/temperature]
[module/temp_cpu]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
@ -293,7 +284,7 @@ ramp-foreground = ${colors.foreground-alt}
; tctl
hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon3/temp1_input
[module/temperature1]
[module/temp_gpu]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
@ -321,7 +312,7 @@ ramp-foreground = ${colors.foreground-alt}
; gpu
hwmon-path = /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/hwmon/hwmon5/temp1_input
[module/temperature2]
[module/temp_nvme]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60

View file

@ -3,6 +3,6 @@
killall -q polybar
# Launch bar
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
polybar bar --config /home/mg/dotfiles/polybar/config 2>&1 | tee -a /tmp/polybar.log & disown
polybar --config=/home/mg/dotfiles/polybar/config bar 2>&1 | tee -a /tmp/polybar.log & disown
echo "Bars launched..."