wip
This commit is contained in:
parent
0f554d8c52
commit
66ff8b01fc
3 changed files with 11 additions and 20 deletions
|
@ -181,4 +181,4 @@ bindsym $mod+r mode "resize"
|
||||||
#bar {
|
#bar {
|
||||||
# status_command i3status
|
# status_command i3status
|
||||||
#}
|
#}
|
||||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
exec_always --no-startup-id /home/mg/dotfiles/polybar/launch.sh
|
||||||
|
|
|
@ -20,13 +20,13 @@ primary = #ffb52a
|
||||||
secondary = #e60053
|
secondary = #e60053
|
||||||
alert = #bd2c40
|
alert = #bd2c40
|
||||||
|
|
||||||
[bar/example]
|
[bar/bar]
|
||||||
;monitor = ${env:MONITOR:HDMI-1}
|
;monitor = ${env:MONITOR:HDMI-1}
|
||||||
width = 100%
|
width = 110%
|
||||||
height = 27
|
height = 27
|
||||||
;offset-x = 1%
|
;offset-x = 1%
|
||||||
;offset-y = 1%
|
;offset-y = 1%
|
||||||
radius = 6.0
|
radius = 0.0
|
||||||
fixed-center = false
|
fixed-center = false
|
||||||
|
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
|
@ -48,9 +48,9 @@ font-0 = fixed:pixelsize=10;1
|
||||||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
font-2 = siji:pixelsize=10;1
|
font-2 = siji:pixelsize=10;1
|
||||||
|
|
||||||
modules-left = bspwm i3
|
modules-left = i3
|
||||||
modules-center = mpd
|
modules-center =
|
||||||
modules-right = xbacklight alsa memory cpu wlan eth battery temperature temperature1 temperature2 date powermenu
|
modules-right = xbacklight alsa memory cpu wlan eth battery temperature temp_gpu temp_nvme date powermenu
|
||||||
|
|
||||||
tray-position = right
|
tray-position = right
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
|
@ -87,15 +87,6 @@ label-indicator-margin = 1
|
||||||
label-indicator-background = ${colors.secondary}
|
label-indicator-background = ${colors.secondary}
|
||||||
label-indicator-underline = ${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]
|
[module/i3]
|
||||||
type = internal/i3
|
type = internal/i3
|
||||||
|
@ -265,7 +256,7 @@ animation-discharging-2 =
|
||||||
animation-discharging-foreground = ${colors.foreground-alt}
|
animation-discharging-foreground = ${colors.foreground-alt}
|
||||||
animation-discharging-framerate = 750
|
animation-discharging-framerate = 750
|
||||||
|
|
||||||
[module/temperature]
|
[module/temp_cpu]
|
||||||
type = internal/temperature
|
type = internal/temperature
|
||||||
thermal-zone = 0
|
thermal-zone = 0
|
||||||
warn-temperature = 60
|
warn-temperature = 60
|
||||||
|
@ -293,7 +284,7 @@ ramp-foreground = ${colors.foreground-alt}
|
||||||
; tctl
|
; tctl
|
||||||
hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon3/temp1_input
|
hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon3/temp1_input
|
||||||
|
|
||||||
[module/temperature1]
|
[module/temp_gpu]
|
||||||
type = internal/temperature
|
type = internal/temperature
|
||||||
thermal-zone = 0
|
thermal-zone = 0
|
||||||
warn-temperature = 60
|
warn-temperature = 60
|
||||||
|
@ -321,7 +312,7 @@ ramp-foreground = ${colors.foreground-alt}
|
||||||
; gpu
|
; gpu
|
||||||
hwmon-path = /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/hwmon/hwmon5/temp1_input
|
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
|
type = internal/temperature
|
||||||
thermal-zone = 0
|
thermal-zone = 0
|
||||||
warn-temperature = 60
|
warn-temperature = 60
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
killall -q polybar
|
killall -q polybar
|
||||||
# Launch bar
|
# Launch bar
|
||||||
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
|
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..."
|
echo "Bars launched..."
|
||||||
|
|
Loading…
Reference in a new issue