added strix polybar configs
This commit is contained in:
parent
7bee6bd481
commit
612a8d805d
|
@ -7,12 +7,9 @@
|
||||||
mumble # voip
|
mumble # voip
|
||||||
element-desktop # fully featured matrix client
|
element-desktop # fully featured matrix client
|
||||||
#gomuks # tui matrix client
|
#gomuks # tui matrix client
|
||||||
iamb
|
|
||||||
simplex-chat-desktop
|
simplex-chat-desktop
|
||||||
|
discord
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
237
hosts/strix/opt/poly.ini
Normal file
237
hosts/strix/opt/poly.ini
Normal file
|
@ -0,0 +1,237 @@
|
||||||
|
|
||||||
|
[bar/bottom]
|
||||||
|
background=#00191830
|
||||||
|
border-color=#00400080
|
||||||
|
border-size=10px
|
||||||
|
bottom=true
|
||||||
|
font-0=Jetbrains Mono Nerd font:size=11;3
|
||||||
|
font-1=Jetbrains Mono Nerd font:size=22;5
|
||||||
|
foreground=#FFFFFF
|
||||||
|
height=34
|
||||||
|
modules-center=cava
|
||||||
|
modules-left=audio-capsule a music-capsule
|
||||||
|
modules-right=" wired-network a wireless-network a replay"
|
||||||
|
padding-left=5
|
||||||
|
padding-right=5
|
||||||
|
radius=20
|
||||||
|
width=100%
|
||||||
|
|
||||||
|
[bar/default]
|
||||||
|
background=#00191830
|
||||||
|
border-color=#00400080
|
||||||
|
border-size=10px
|
||||||
|
bottom=false
|
||||||
|
font-0=Jetbrains Mono Nerd font:size=11;3
|
||||||
|
font-1=Jetbrains Mono Nerd font:size=22;5
|
||||||
|
foreground=#FFFFFF
|
||||||
|
height=34
|
||||||
|
modules-center=ewmh
|
||||||
|
modules-left=date s keyboard battery
|
||||||
|
modules-right= fs-data s fs-system s memory s start gpu-temp gpu-usage end s cpu-temp cpu-usage
|
||||||
|
padding-left=2
|
||||||
|
padding-right=2
|
||||||
|
radius=15
|
||||||
|
width=100%
|
||||||
|
|
||||||
|
[global/wm]
|
||||||
|
override-redirect=false
|
||||||
|
|
||||||
|
[module/a]
|
||||||
|
label=" "
|
||||||
|
label-foreground=#FAD000
|
||||||
|
type=custom/text
|
||||||
|
|
||||||
|
[module/audio-capsule]
|
||||||
|
click-right=pavucontrol
|
||||||
|
format-muted=%{T2}%{F#191830}%{F-}%{T-}<label-muted>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
format-volume=%{T2}%{F#191830}%{F-}%{T-}<label-volume>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
label-muted=muted
|
||||||
|
label-muted-background=#191830
|
||||||
|
label-muted-foreground=#FF0
|
||||||
|
label-volume=%percentage%%
|
||||||
|
label-volume-background=#191830
|
||||||
|
type=internal/alsa
|
||||||
|
use-ui-max=true
|
||||||
|
|
||||||
|
[module/battery]
|
||||||
|
adapter=AC0
|
||||||
|
battery=BAT0
|
||||||
|
format-charging=%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}BAT %{F-}%{B-}<label-charging>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
full-at=95
|
||||||
|
label-background=#191830
|
||||||
|
label-foreground=#FFFFFF
|
||||||
|
label-charging = Charging %percentage%%
|
||||||
|
label-charging-background=#191830
|
||||||
|
label-charging-foreground=#FFFFFF
|
||||||
|
low-at=20
|
||||||
|
poll-interval=4
|
||||||
|
type=internal/battery
|
||||||
|
|
||||||
|
[module/cava]
|
||||||
|
exec=~/dotfiles/scripts/cava.sh
|
||||||
|
format=%{T2}%{F#191830}%{F-}%{T-}<label>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
format-font=5
|
||||||
|
label=" %{T1}%output%%{T-}"
|
||||||
|
label-background=#191830
|
||||||
|
label-foreground=#FFFFFF
|
||||||
|
tail=true
|
||||||
|
type=custom/script
|
||||||
|
|
||||||
|
[module/cpu-temp]
|
||||||
|
base-temperature=20
|
||||||
|
format="%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}CPU %{F-}<label>%{B-}"
|
||||||
|
format-warn="%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}CPU %{F-}<label-warn>%{B-}"
|
||||||
|
hwmon-path=/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
|
||||||
|
label-background=#191830
|
||||||
|
label-foreground=#FFFFFF
|
||||||
|
label-warn-foreground=#f00
|
||||||
|
label= "%temperature% "
|
||||||
|
thermal-zone=0
|
||||||
|
type=internal/temperature
|
||||||
|
warn-temperature=85
|
||||||
|
zone-type=x86_pkg_temp
|
||||||
|
|
||||||
|
[module/cpu-usage]
|
||||||
|
format="<label>%{T2}%{F#191830}%{F-}%{T-}"
|
||||||
|
format-foreground=#FFFFFF
|
||||||
|
interval=1.5
|
||||||
|
label=%percentage%%
|
||||||
|
label-background=#191830
|
||||||
|
type=internal/cpu
|
||||||
|
|
||||||
|
[module/date]
|
||||||
|
date=%Y-%m-%d %A
|
||||||
|
font-1=Jetbrains Mono Nerd font
|
||||||
|
format=%{T2}%{F#191830}%{F-}%{T-}<label>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
interval=1
|
||||||
|
label=%time% %date%
|
||||||
|
label-background=#191830
|
||||||
|
label-foreground=#FFFFFF
|
||||||
|
time=%I:%M:%S
|
||||||
|
type=internal/date
|
||||||
|
|
||||||
|
[module/ewmh]
|
||||||
|
format=%{T2}%{F#191830}%{F-}%{T-}<label-state>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
label-active-background=#191830
|
||||||
|
label-active-foreground=#FAD000
|
||||||
|
label-empty-background=#191830
|
||||||
|
label-inactive-background=#191830
|
||||||
|
label-occupied-background=#191830
|
||||||
|
label-urgent-foreground=#f00
|
||||||
|
pin-workspaces=false
|
||||||
|
type=internal/xworkspaces
|
||||||
|
|
||||||
|
[module/fs-data]
|
||||||
|
format-mounted=%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}DAT %{F-}%{B-}<label-mounted>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
format-prefix-foreground=#FFFFFF
|
||||||
|
interval=30
|
||||||
|
label-mounted=%free%(%total%)
|
||||||
|
label-mounted-background=#191830
|
||||||
|
label-unmounted=?
|
||||||
|
label-warn=%{F#f00} !%free%!%{F-}(%total%)
|
||||||
|
mount-0=/media/terra
|
||||||
|
type=internal/fs
|
||||||
|
warn-precentage=80%
|
||||||
|
|
||||||
|
[module/fs-label-data]
|
||||||
|
label="DAT "
|
||||||
|
label-foreground=#FAD000
|
||||||
|
type=custom/text
|
||||||
|
|
||||||
|
[module/fs-label-system]
|
||||||
|
label="SYS "
|
||||||
|
label-foreground=#FAD000
|
||||||
|
type=custom/text
|
||||||
|
|
||||||
|
[module/fs-system]
|
||||||
|
format-mounted=%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}SYS %{F-}%{B-}<label-mounted>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
format-prefix-foreground=#FFFFFF
|
||||||
|
interval=30
|
||||||
|
label-mounted=%free%(%total%)
|
||||||
|
label-mounted-background=#191830
|
||||||
|
label-unmounted=?
|
||||||
|
label-warn=%{F#f00} !%free%!%{F-}(%total%)
|
||||||
|
mount-0=/
|
||||||
|
type=internal/fs
|
||||||
|
warn-precentage=80%
|
||||||
|
|
||||||
|
[module/gpu-temp]
|
||||||
|
exec=nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits
|
||||||
|
#format=%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{B#191830}%{F#FAD000}GPU%{F-}%{B-} <label>%{B-}%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
format=%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}GPU%{F-}<label>c%{B-}
|
||||||
|
interval=1.5
|
||||||
|
label-background=#191830
|
||||||
|
label-foreground=#FFFFFF
|
||||||
|
type=custom/script
|
||||||
|
|
||||||
|
[module/gpu-usage]
|
||||||
|
exec=nvidia-smi --query-gpu=memory.used --format=csv,noheader,nounits
|
||||||
|
format=<label> mb
|
||||||
|
interval=1.5
|
||||||
|
label-background=#191830
|
||||||
|
label-foreground=#FFFFFF
|
||||||
|
type=custom/script
|
||||||
|
|
||||||
|
[module/keyboard]
|
||||||
|
format=%{T2}%{F#191830}%{F-}%{T-}%{B#191830}<label-layout>%{B-}%{B#191830}%{F#FAD000} <label-indicator>%{T-}%{B-}%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
label-layout-background=#191830
|
||||||
|
label-layout-foreground=#FFFFFF
|
||||||
|
label-indicator-on-capslock = CAPS
|
||||||
|
type=internal/xkeyboard
|
||||||
|
|
||||||
|
[module/memory]
|
||||||
|
format=%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}RAM %{F-}%{B-}<label>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
interval=1
|
||||||
|
label=%used%
|
||||||
|
label-background=#191830
|
||||||
|
label-warn=%used%
|
||||||
|
label-warn-foreground=#f00
|
||||||
|
type=internal/memory
|
||||||
|
warn-percentage=60
|
||||||
|
|
||||||
|
[module/music-capsule]
|
||||||
|
exec=~/dotfiles/scripts/music.sh
|
||||||
|
format=%{T2}%{F#191830}%{F-}%{T-}<label>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
interval=.5
|
||||||
|
label-background=#191830
|
||||||
|
type=custom/script
|
||||||
|
|
||||||
|
[module/replay]
|
||||||
|
exec=~/.config/scripts/status.sh
|
||||||
|
format=%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}REPLAY %{F-}%{B-}<label>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
interval=1
|
||||||
|
label-background=#191830
|
||||||
|
type=custom/script
|
||||||
|
|
||||||
|
[module/s]
|
||||||
|
label=" "
|
||||||
|
type=custom/text
|
||||||
|
|
||||||
|
[module/wired-network]
|
||||||
|
format-connected=%{T2}%{F#191830}%{F-}%{T-}<label-connected>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
format-disconnected=%{T2}%{F#191830}%{F-}%{T-}<label-disconnected>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
format-packetloss=%{T2}%{F#191830}%{F-}%{T-}PL!: <label-packetloss>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
interface=eno2
|
||||||
|
interval=.5
|
||||||
|
label-background=#191830
|
||||||
|
label-connected=%ifname% %{F#FAD000}%{F-} %downspeed% %{F#FAD000}%{F-} %upspeed%
|
||||||
|
label-packetloss=%ifname% %{F#FAD000}%{F-} %downspeed% %{F#FAD000}%{F-} %upspeed%
|
||||||
|
label-connected-background=#191830
|
||||||
|
label-disconnected-background=#191830
|
||||||
|
type=internal/network
|
||||||
|
animation-packetloss-framerate = 500
|
||||||
|
|
||||||
|
[module/wireless-network]
|
||||||
|
format-connected=%{T2}%{F#191830}%{F-}%{T-}<label-connected>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
format-disconnected=%{T2}%{F#191830}%{F-}%{T-}<label-disconnected>%{T2}%{F#191830}%{F-}%{T-}
|
||||||
|
interface=wlo1
|
||||||
|
interval=.5
|
||||||
|
label-background=#191830
|
||||||
|
label-connected=%{F#FAD000}%{F-} %downspeed% %{F#FAD000}%{F-} %upspeed%
|
||||||
|
label-disconnected="%ifname% offline"
|
||||||
|
label-connected-background=#191830
|
||||||
|
label-disconnected-background=#191830
|
||||||
|
type=internal/network
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue