mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 11:00:27 +10:00
Merge branch 'master' of gitlab.com:dwt1/dotfiles
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# ____ _____
|
# ____ _____
|
||||||
# | _ \_ _| Derek Taylor (DistroTube)
|
# | _ \_ _| Derek Taylor (DistroTube)
|
||||||
# | | | || | http://www.youtube.com/c/DistroTube
|
# | | | || | http://www.youtube.com/c/DistroTube
|
||||||
# | |_| || | http://www.gitlab.com/dwt1/
|
# | |_| || | http://www.gitlab.com/dwt1/
|
||||||
@@ -436,7 +436,7 @@ monitor = ${env:MONITOR}
|
|||||||
monitor-strict = false
|
monitor-strict = false
|
||||||
override-redirect = false
|
override-redirect = false
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 20
|
height = 22
|
||||||
;offset-x = 1%
|
;offset-x = 1%
|
||||||
;offset-y = 1%
|
;offset-y = 1%
|
||||||
radius = 0.0
|
radius = 0.0
|
||||||
@@ -468,13 +468,13 @@ module-margin-right = 0
|
|||||||
enable-ipc = true
|
enable-ipc = true
|
||||||
|
|
||||||
;https://github.com/jaagr/polybar/wiki/Fonts
|
;https://github.com/jaagr/polybar/wiki/Fonts
|
||||||
font-0 = "UbuntuMono Nerd Font:size=10;2"
|
font-0 = "Ubuntu:style=Bold:size=9;2"
|
||||||
font-1 = "UbuntuMono Nerd Font:size=16;3"
|
font-1 = "UbuntuMono Nerd Font:style=Bold:size=18;3"
|
||||||
font-2 = "Font Awesome 5 Free:style=Regular:pixelsize=8;1"
|
font-2 = "Font Awesome 6 Free:style=Regular:pixelsize=8;1"
|
||||||
font-3 = "Font Awesome 5 Free:style=Solid:pixelsize=8;1"
|
font-3 = "Font Awesome 6 Free:style=Solid:pixelsize=8;1"
|
||||||
font-4 = "Font Awesome 5 Brands:pixelsize=8;1"
|
font-4 = "Font Awesome 6 Brands:pixelsize=8;1"
|
||||||
|
|
||||||
modules-left = xmonad
|
modules-left = xmonad xwindow
|
||||||
modules-center =
|
modules-center =
|
||||||
modules-right = arrow1 networkspeedup networkspeeddown arrow2 memory2 arrow3 cpu2 arrow2 pavolume arrow3 arch-aur-updates arrow2 date
|
modules-right = arrow1 networkspeedup networkspeeddown arrow2 memory2 arrow3 cpu2 arrow2 pavolume arrow3 arch-aur-updates arrow2 date
|
||||||
|
|
||||||
@@ -791,7 +791,7 @@ interval = 1000
|
|||||||
label = Updates: %output%
|
label = Updates: %output%
|
||||||
format-foreground = #fefefe
|
format-foreground = #fefefe
|
||||||
format-background = #8d62ad
|
format-background = #8d62ad
|
||||||
format-prefix = " "
|
format-prefix = "🗘 "
|
||||||
format-prefix-foreground = #fefefe
|
format-prefix-foreground = #fefefe
|
||||||
|
|
||||||
|
|
||||||
@@ -802,7 +802,7 @@ interval = 1000
|
|||||||
label = Aur: %output%
|
label = Aur: %output%
|
||||||
format-foreground = ${colors.foreground}
|
format-foreground = ${colors.foreground}
|
||||||
format-background = ${colors.background}
|
format-background = ${colors.background}
|
||||||
format-prefix = " "
|
format-prefix = "🗘 "
|
||||||
format-prefix-foreground = #FFBB00
|
format-prefix-foreground = #FFBB00
|
||||||
format-underline = #FFBB00
|
format-underline = #FFBB00
|
||||||
|
|
||||||
@@ -972,7 +972,7 @@ type = internal/cpu
|
|||||||
interval = 1
|
interval = 1
|
||||||
format-foreground = #fefefe
|
format-foreground = #fefefe
|
||||||
format-background = #8d62ad
|
format-background = #8d62ad
|
||||||
format-prefix = " "
|
format-prefix = "💻 "
|
||||||
format-prefix-foreground = #fefefe
|
format-prefix-foreground = #fefefe
|
||||||
|
|
||||||
label-font = 1
|
label-font = 1
|
||||||
@@ -1004,7 +1004,7 @@ date = " %a %b %d, %Y"
|
|||||||
date-alt = " %a %b %d, %Y"
|
date-alt = " %a %b %d, %Y"
|
||||||
time = %l:%M%p
|
time = %l:%M%p
|
||||||
time-alt = %l:%M%p
|
time-alt = %l:%M%p
|
||||||
format-prefix = " "
|
format-prefix = "📅 "
|
||||||
format-prefix-foreground = #fefefe
|
format-prefix-foreground = #fefefe
|
||||||
format-foreground = #fefefe
|
format-foreground = #fefefe
|
||||||
format-background = #668bd7
|
format-background = #668bd7
|
||||||
@@ -1172,6 +1172,7 @@ interval = 1
|
|||||||
; %mb_free%
|
; %mb_free%
|
||||||
; %mb_total%
|
; %mb_total%
|
||||||
label = %percentage_used%%
|
label = %percentage_used%%
|
||||||
|
label-active-font = 2
|
||||||
bar-used-indicator =
|
bar-used-indicator =
|
||||||
bar-used-width = 10
|
bar-used-width = 10
|
||||||
bar-used-foreground-0 = #3384d0
|
bar-used-foreground-0 = #3384d0
|
||||||
@@ -1202,9 +1203,10 @@ interval = 1
|
|||||||
; %mb_free%
|
; %mb_free%
|
||||||
; %mb_total%
|
; %mb_total%
|
||||||
label = %percentage_used%%
|
label = %percentage_used%%
|
||||||
|
label-active-font = 2
|
||||||
|
|
||||||
format = Mem <label>
|
format = Mem <label>
|
||||||
format-prefix = " "
|
format-prefix = "💾 "
|
||||||
format-prefix-foreground = #fefefe
|
format-prefix-foreground = #fefefe
|
||||||
format-foreground = #fefefe
|
format-foreground = #fefefe
|
||||||
format-background = #668bd7
|
format-background = #668bd7
|
||||||
@@ -1266,10 +1268,10 @@ type = internal/network
|
|||||||
;interface = wlp3s0
|
;interface = wlp3s0
|
||||||
;interface = enp14s0
|
;interface = enp14s0
|
||||||
;interface = enp0s31f6
|
;interface = enp0s31f6
|
||||||
interface = enp6s0
|
interface = enp5s0
|
||||||
label-connected = "%upspeed:7%"
|
label-connected = "%upspeed:7%"
|
||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
format-connected-prefix = " "
|
format-connected-prefix = "↑ "
|
||||||
format-connected-prefix-foreground = #fefefe
|
format-connected-prefix-foreground = #fefefe
|
||||||
format-connected-foreground = #fefefe
|
format-connected-foreground = #fefefe
|
||||||
format-connected-background = #8d62a9
|
format-connected-background = #8d62a9
|
||||||
@@ -1282,10 +1284,10 @@ type = internal/network
|
|||||||
;interface = wlp3s0
|
;interface = wlp3s0
|
||||||
;interface = enp14s0
|
;interface = enp14s0
|
||||||
;interface = enp0s31f6
|
;interface = enp0s31f6
|
||||||
interface = enp6s0
|
interface = enp5s0
|
||||||
label-connected = "%downspeed:7%"
|
label-connected = "%downspeed:7%"
|
||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
format-connected-prefix = " "
|
format-connected-prefix = " ↓ "
|
||||||
format-connected-prefix-foreground = #fefefe
|
format-connected-prefix-foreground = #fefefe
|
||||||
format-connected-foreground = #fefefe
|
format-connected-foreground = #fefefe
|
||||||
format-connected-background = #8d62ad
|
format-connected-background = #8d62ad
|
||||||
@@ -1310,6 +1312,7 @@ format-underline = #FFBB00
|
|||||||
type = custom/script
|
type = custom/script
|
||||||
tail = true
|
tail = true
|
||||||
label = %output%
|
label = %output%
|
||||||
|
format-prefix = " 🔊 "
|
||||||
exec = ~/.config/polybar/scripts/pavolume.sh --listen
|
exec = ~/.config/polybar/scripts/pavolume.sh --listen
|
||||||
click-right = exec pavucontrol
|
click-right = exec pavucontrol
|
||||||
click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
|
click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ killall -q polybar
|
|||||||
while pgrep -u $UID -x polybar >/dev/null; do : ; done
|
while pgrep -u $UID -x polybar >/dev/null; do : ; done
|
||||||
|
|
||||||
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||||
WIRELESS=$(ls /sys/class/net/ | grep ^wl | awk 'NR==1{print $1}') MONITOR=$m polybar --reload mainbar-i3 &
|
WIRELESS=$(ls /sys/class/net/ | grep ^wl | awk 'NR==1{print $1}') MONITOR=$m polybar --reload mainbar-xmonad &
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Bars launched..."
|
echo "Bars launched..."
|
||||||
|
|||||||
@@ -153,11 +153,11 @@ function output() {
|
|||||||
echo "ﱝ mute"
|
echo "ﱝ mute"
|
||||||
else
|
else
|
||||||
if [ $curVol -gt 70 ]; then
|
if [ $curVol -gt 70 ]; then
|
||||||
echo "墳 $curVol%"
|
echo "$curVol%"
|
||||||
elif [ $curVol -gt 30 ]; then
|
elif [ $curVol -gt 30 ]; then
|
||||||
echo "奔 $curVol%"
|
echo "$curVol%"
|
||||||
else
|
else
|
||||||
echo "奄 $curVol%"
|
echo "$curVol%"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|||||||
Reference in New Issue
Block a user