add polybar
This commit is contained in:
parent
25eec95c0b
commit
d6d1628b91
150
.config/polybar/config.bak
Normal file
150
.config/polybar/config.bak
Normal file
@ -0,0 +1,150 @@
|
|||||||
|
[colors]
|
||||||
|
background = #00000000
|
||||||
|
foreground = #ffffff
|
||||||
|
focused = #bcecff
|
||||||
|
urgent = #ffdb9e
|
||||||
|
|
||||||
|
[bar/bar]
|
||||||
|
width = 100%
|
||||||
|
height = 36
|
||||||
|
|
||||||
|
background = ${colors.background}
|
||||||
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
wm-restack = bspwm
|
||||||
|
|
||||||
|
radius = 0.0
|
||||||
|
|
||||||
|
line-size = 1
|
||||||
|
|
||||||
|
padding-left = 3
|
||||||
|
padding-right = 4
|
||||||
|
|
||||||
|
module-margin = 2
|
||||||
|
|
||||||
|
font-0 = sans-serif:size=12;3
|
||||||
|
font-1 = FontAwesome6FreeSolid:size=12;3
|
||||||
|
|
||||||
|
modules-left = bspwm-desktops window-title
|
||||||
|
modules-center = cpu memory disk
|
||||||
|
modules-right = battery wired-network wireless-network date-and-time
|
||||||
|
|
||||||
|
locale = en_US.UTF-8
|
||||||
|
|
||||||
|
tray-position = none
|
||||||
|
tray-maxsize = 24
|
||||||
|
tray-offset-x = -8
|
||||||
|
tray-offset-y = 0
|
||||||
|
|
||||||
|
enable-ipc = true
|
||||||
|
|
||||||
|
[settings]
|
||||||
|
screenchange-reload = true
|
||||||
|
|
||||||
|
[module/bspwm-desktops]
|
||||||
|
type = internal/bspwm
|
||||||
|
|
||||||
|
format = <label-state>
|
||||||
|
|
||||||
|
label-focused = %name%
|
||||||
|
label-focused-foreground = ${colors.focused}
|
||||||
|
label-focused-underline = ${colors.focused}
|
||||||
|
label-focused-padding = 2
|
||||||
|
|
||||||
|
label-occupied = %name%
|
||||||
|
label-occupied-foreground = ${colors.foreground}
|
||||||
|
label-occupied-padding = 2
|
||||||
|
|
||||||
|
label-urgent = %name%
|
||||||
|
label-urgent-foreground = ${colors.urgent}
|
||||||
|
label-urgent-underline = ${colors.urgent}
|
||||||
|
label-urgent-padding = 2
|
||||||
|
|
||||||
|
label-empty =
|
||||||
|
|
||||||
|
[module/window-title]
|
||||||
|
type = internal/xwindow
|
||||||
|
label = %title%
|
||||||
|
label-maxlen = 50
|
||||||
|
|
||||||
|
[module/cpu]
|
||||||
|
type = internal/cpu
|
||||||
|
label = %percentage% %
|
||||||
|
|
||||||
|
[module/memory]
|
||||||
|
type = internal/memory
|
||||||
|
interval = 1
|
||||||
|
label = %gb_free%
|
||||||
|
|
||||||
|
[module/disk]
|
||||||
|
type = internal/fs
|
||||||
|
mount-0 = /
|
||||||
|
interval = 10
|
||||||
|
label-mounted = %free%
|
||||||
|
|
||||||
|
[module/battery]
|
||||||
|
type = internal/battery
|
||||||
|
full-at = 99
|
||||||
|
battery = BAT0
|
||||||
|
adapter = AC0
|
||||||
|
|
||||||
|
format-charging = <label-charging> <animation-charging>
|
||||||
|
format-discharging = <label-discharging> <ramp-capacity>
|
||||||
|
format-full = <label-full>
|
||||||
|
|
||||||
|
label-charging = %percentage%%
|
||||||
|
label-discharging = %percentage%%
|
||||||
|
|
||||||
|
ramp-capacity-0 =
|
||||||
|
ramp-capacity-1 =
|
||||||
|
ramp-capacity-2 =
|
||||||
|
ramp-capacity-3 =
|
||||||
|
ramp-capacity-4 =
|
||||||
|
|
||||||
|
animation-charging-0 =
|
||||||
|
animation-charging-1 =
|
||||||
|
animation-charging-2 =
|
||||||
|
animation-charging-3 =
|
||||||
|
animation-charging-4 =
|
||||||
|
animation-charging-framerate = 500
|
||||||
|
|
||||||
|
[module/wireless-network]
|
||||||
|
type = internal/network
|
||||||
|
interface = wlp2s0
|
||||||
|
format-connected =
|
||||||
|
;label-disconnected =
|
||||||
|
|
||||||
|
[module/wired-network]
|
||||||
|
type = internal/network
|
||||||
|
interface = enp3s0
|
||||||
|
format-connected =
|
||||||
|
|
||||||
|
[module/pulseaudio-volume]
|
||||||
|
type = internal/pulseaudio
|
||||||
|
|
||||||
|
sink = alsa_output.pci-0000_00_1b.0.analog-stereo
|
||||||
|
use-ui-max = false
|
||||||
|
|
||||||
|
format-volume = <label-volume> <ramp-volume>
|
||||||
|
|
||||||
|
label-muted =
|
||||||
|
|
||||||
|
ramp-volume-0 =
|
||||||
|
ramp-volume-1 =
|
||||||
|
ramp-volume-2 =
|
||||||
|
|
||||||
|
[module/keyboard-layout]
|
||||||
|
type = internal/xkeyboard
|
||||||
|
|
||||||
|
format = <label-layout>
|
||||||
|
|
||||||
|
[module/date-and-time]
|
||||||
|
type = internal/date
|
||||||
|
|
||||||
|
date = %a, %b %e
|
||||||
|
date-alt = %A, %B %e, %Y
|
||||||
|
|
||||||
|
time = %H:%M
|
||||||
|
time-alt = %H:%M:%S
|
||||||
|
|
||||||
|
label = %date% %time%
|
143
.config/polybar/config.ini
Normal file
143
.config/polybar/config.ini
Normal file
@ -0,0 +1,143 @@
|
|||||||
|
[colors]
|
||||||
|
background = #00000000
|
||||||
|
foreground = #ffffff
|
||||||
|
focused = #bcecff
|
||||||
|
urgent = #ffdb9e
|
||||||
|
|
||||||
|
[bar/bar]
|
||||||
|
width = 100%
|
||||||
|
height = 36
|
||||||
|
|
||||||
|
background = ${colors.background}
|
||||||
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
wm-restack = bspwm
|
||||||
|
|
||||||
|
radius = 0.0
|
||||||
|
|
||||||
|
line-size = 1
|
||||||
|
|
||||||
|
padding-left = 3
|
||||||
|
padding-right = 4
|
||||||
|
|
||||||
|
module-margin = 2
|
||||||
|
|
||||||
|
font-0 = sans-serif:size=12;3
|
||||||
|
font-1 = FontAwesome6FreeSolid:size=12;3
|
||||||
|
|
||||||
|
modules-left = bspwm-desktops window-title
|
||||||
|
modules-center = cpu memory disk
|
||||||
|
modules-right = battery wired-network wireless-network date-and-time
|
||||||
|
|
||||||
|
locale = en_US.UTF-8
|
||||||
|
|
||||||
|
tray-position = none
|
||||||
|
tray-maxsize = 24
|
||||||
|
tray-offset-x = -8
|
||||||
|
tray-offset-y = 0
|
||||||
|
|
||||||
|
enable-ipc = true
|
||||||
|
|
||||||
|
[settings]
|
||||||
|
screenchange-reload = true
|
||||||
|
|
||||||
|
[module/bspwm-desktops]
|
||||||
|
type = internal/bspwm
|
||||||
|
|
||||||
|
format = <label-state>
|
||||||
|
|
||||||
|
label-focused = %name%
|
||||||
|
label-focused-foreground = ${colors.focused}
|
||||||
|
label-focused-underline = ${colors.focused}
|
||||||
|
label-focused-padding = 2
|
||||||
|
|
||||||
|
label-occupied = %name%
|
||||||
|
label-occupied-foreground = ${colors.foreground}
|
||||||
|
label-occupied-padding = 2
|
||||||
|
|
||||||
|
label-urgent = %name%
|
||||||
|
label-urgent-foreground = ${colors.urgent}
|
||||||
|
label-urgent-underline = ${colors.urgent}
|
||||||
|
label-urgent-padding = 2
|
||||||
|
|
||||||
|
label-empty =
|
||||||
|
|
||||||
|
[module/window-title]
|
||||||
|
type = internal/xwindow
|
||||||
|
label = %title%
|
||||||
|
label-maxlen = 50
|
||||||
|
|
||||||
|
[module/cpu]
|
||||||
|
type = internal/cpu
|
||||||
|
label = %percentage% %
|
||||||
|
|
||||||
|
[module/memory]
|
||||||
|
type = internal/memory
|
||||||
|
interval = 1
|
||||||
|
label = %gb_free%
|
||||||
|
|
||||||
|
[module/disk]
|
||||||
|
type = internal/fs
|
||||||
|
mount-0 = /
|
||||||
|
interval = 10
|
||||||
|
label-mounted = %free%
|
||||||
|
|
||||||
|
[module/battery]
|
||||||
|
type = internal/battery
|
||||||
|
full-at = 99
|
||||||
|
battery = BAT0
|
||||||
|
adapter = AC0
|
||||||
|
|
||||||
|
format-charging = <label-charging> <ramp-capacity>
|
||||||
|
format-discharging = <label-discharging> <ramp-capacity>
|
||||||
|
format-full = <label-full>
|
||||||
|
|
||||||
|
label-charging = %percentage%%c
|
||||||
|
label-discharging = %percentage%%d
|
||||||
|
|
||||||
|
ramp-capacity-0 =
|
||||||
|
ramp-capacity-1 =
|
||||||
|
ramp-capacity-2 =
|
||||||
|
ramp-capacity-3 =
|
||||||
|
ramp-capacity-4 =
|
||||||
|
|
||||||
|
[module/wireless-network]
|
||||||
|
type = internal/network
|
||||||
|
interface = wlp2s0
|
||||||
|
format-connected =
|
||||||
|
;label-disconnected =
|
||||||
|
|
||||||
|
[module/wired-network]
|
||||||
|
type = internal/network
|
||||||
|
interface = enp3s0
|
||||||
|
format-connected =
|
||||||
|
|
||||||
|
[module/pulseaudio-volume]
|
||||||
|
type = internal/pulseaudio
|
||||||
|
|
||||||
|
sink = alsa_output.pci-0000_00_1b.0.analog-stereo
|
||||||
|
use-ui-max = false
|
||||||
|
|
||||||
|
format-volume = <label-volume> <ramp-volume>
|
||||||
|
|
||||||
|
label-muted =
|
||||||
|
|
||||||
|
ramp-volume-0 =
|
||||||
|
ramp-volume-1 =
|
||||||
|
ramp-volume-2 =
|
||||||
|
|
||||||
|
[module/keyboard-layout]
|
||||||
|
type = internal/xkeyboard
|
||||||
|
|
||||||
|
format = <label-layout>
|
||||||
|
|
||||||
|
[module/date-and-time]
|
||||||
|
type = internal/date
|
||||||
|
|
||||||
|
date = %a, %b %e
|
||||||
|
date-alt = %A, %B %e, %Y
|
||||||
|
|
||||||
|
time = %H:%M
|
||||||
|
time-alt = %H:%M:%S
|
||||||
|
|
||||||
|
label = %date% %time%
|
637
.config/polybar/config2
Normal file
637
.config/polybar/config2
Normal file
@ -0,0 +1,637 @@
|
|||||||
|
;==========================================================
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
||||||
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
||||||
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
||||||
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
||||||
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
||||||
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; To learn more about how to configure Polybar
|
||||||
|
; go to https://github.com/jaagr/polybar
|
||||||
|
;
|
||||||
|
; The README contains alot of information
|
||||||
|
;
|
||||||
|
;==========================================================
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
background = ${xrdb:color0:#222}
|
||||||
|
;background = #222
|
||||||
|
background-alt = #444
|
||||||
|
foreground = ${xrdb:color7:#EEE}
|
||||||
|
;foreground = #dfdfdf
|
||||||
|
foreground-alt = #555
|
||||||
|
primary = ${xrdb:color1:#777}
|
||||||
|
secondary = #e60053
|
||||||
|
alert = #bd2c40
|
||||||
|
underline = ${xrdb:color8}
|
||||||
|
cpu = ${xrdb:color11}
|
||||||
|
memory = ${xrdb:color14}
|
||||||
|
redshift = ${xrdb:color13}
|
||||||
|
bluetooth = ${xrdb:color15}
|
||||||
|
alter1 = ${xrdb:color4}
|
||||||
|
alter2 = ${xrdb:color3}
|
||||||
|
|
||||||
|
[bar/bar1]
|
||||||
|
;monitor = ${env:MONITOR:DP1}
|
||||||
|
width = 98%
|
||||||
|
height = 27
|
||||||
|
offset-x = 1%
|
||||||
|
;offset-y = 1%
|
||||||
|
radius = 0
|
||||||
|
fixed-center = true
|
||||||
|
|
||||||
|
background = ${colors.background}
|
||||||
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
line-size = 3
|
||||||
|
line-color = #f00
|
||||||
|
|
||||||
|
border-size = 0
|
||||||
|
border-color = #00000000
|
||||||
|
|
||||||
|
padding-left = 2
|
||||||
|
padding-right = 0
|
||||||
|
|
||||||
|
module-margin-left = 0
|
||||||
|
module-margin-right = 0
|
||||||
|
|
||||||
|
font-0 = cherry-11-r;2
|
||||||
|
font-1 = Wuncon Siji:pixelsize=12;2
|
||||||
|
font-2 = Weather Icons:size=12;4
|
||||||
|
font-3 = Monoid Nerd Font Mono:size=12;2
|
||||||
|
font-4 = SauceCodePro Nerd Font:size=18:antialias=false;4
|
||||||
|
font-5 = Material Icons:size=10;2
|
||||||
|
font-6 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
|
|
||||||
|
|
||||||
|
modules-left = bspwm
|
||||||
|
modules-center = player-mpris-simple
|
||||||
|
modules-right = left-bluetooth bluetooth right-bluetooth left-redshift info-redshift-temp right-redshift left-memory memory right-memory left-cpu cpu right-cpu left-temp temperature right-temp left-date date2 right-date
|
||||||
|
|
||||||
|
tray-position = right
|
||||||
|
tray-padding = 2
|
||||||
|
;tray-background = #0063ff
|
||||||
|
|
||||||
|
wm-restack = bspwm
|
||||||
|
;wm-restack = i3
|
||||||
|
|
||||||
|
;override-redirect = true
|
||||||
|
|
||||||
|
;scroll-up = bspwm-desknext
|
||||||
|
;scroll-down = bspwm-deskprev
|
||||||
|
|
||||||
|
cursor-click = pointer
|
||||||
|
cursor-scroll = ns-resize
|
||||||
|
|
||||||
|
[bar/bar2]
|
||||||
|
monitor = ${env:MONITOR:HDMI2}
|
||||||
|
width = 98%
|
||||||
|
height = 27
|
||||||
|
offset-x = 1%
|
||||||
|
;offset-y = 1%
|
||||||
|
radius = 0
|
||||||
|
fixed-center = true
|
||||||
|
|
||||||
|
background = ${colors.background}
|
||||||
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
line-size = 3
|
||||||
|
line-color = #f00
|
||||||
|
|
||||||
|
border-size = 0
|
||||||
|
border-color = #00000000
|
||||||
|
|
||||||
|
padding-left = 2
|
||||||
|
padding-right = 0
|
||||||
|
|
||||||
|
module-margin-left = 0
|
||||||
|
module-margin-right = 0
|
||||||
|
|
||||||
|
font-0 = cherry-11-r;2
|
||||||
|
font-1 = Wuncon Siji:pixelsize=12;2
|
||||||
|
font-2 = Weather Icons:size=12;4
|
||||||
|
font-3 = Monoid Nerd Font Mono:size=12;2
|
||||||
|
font-4 = SauceCodePro Nerd Font:size=18:antialias=false;4
|
||||||
|
font-5 = Material Icons:size=10;2
|
||||||
|
font-6 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
|
|
||||||
|
|
||||||
|
modules-left = bspwm
|
||||||
|
modules-center =
|
||||||
|
modules-right = pulseaudio left-nordvpn vpn-nordvpn-status right-nordvpn left-pomo pomo right-pomo left-weather openweathermap-fullfeatured right-weather left-date date2 right-date
|
||||||
|
|
||||||
|
wm-restack = bspwm
|
||||||
|
;wm-restack = i3
|
||||||
|
|
||||||
|
;override-redirect = true
|
||||||
|
|
||||||
|
;scroll-up = bspwm-desknext
|
||||||
|
;scroll-down = bspwm-deskprev
|
||||||
|
|
||||||
|
cursor-click = pointer
|
||||||
|
cursor-scroll = ns-resize
|
||||||
|
|
||||||
|
[module/bspwm]
|
||||||
|
type = internal/bspwm
|
||||||
|
|
||||||
|
label-focused = %name%
|
||||||
|
label-focused-background = ${colors.alter1}
|
||||||
|
label-focused-padding = 2
|
||||||
|
label-focused-underline = ${colors.alter2}
|
||||||
|
|
||||||
|
label-occupied = %name%
|
||||||
|
label-occupied-padding = 2
|
||||||
|
|
||||||
|
label-urgent = %name%!
|
||||||
|
label-urgent-background = ${colors.alert}
|
||||||
|
label-urgent-padding = 2
|
||||||
|
|
||||||
|
label-empty = %name%
|
||||||
|
label-empty-foreground = ${colors.foreground-alt}
|
||||||
|
label-empty-padding = 2
|
||||||
|
|
||||||
|
; Separator in between workspaces
|
||||||
|
; label-separator = |
|
||||||
|
|
||||||
|
[module/cpu]
|
||||||
|
type = internal/cpu
|
||||||
|
interval = 2
|
||||||
|
format-prefix = " "
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
format-prefix-background = ${colors.alter1}
|
||||||
|
;format-underline = ${colors.underline}
|
||||||
|
label = %percentage:2%%
|
||||||
|
label-foreground = ${colors.background}
|
||||||
|
label-background = ${colors.alter1}
|
||||||
|
|
||||||
|
[module/memory]
|
||||||
|
type = internal/memory
|
||||||
|
interval = 2
|
||||||
|
format-prefix = " "
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
format-prefix-background = ${colors.alter2}
|
||||||
|
;format-underline = ${colors.underline}
|
||||||
|
label = %percentage_used%%
|
||||||
|
label-foreground = ${colors.background}
|
||||||
|
label-background = ${colors.alter2}
|
||||||
|
|
||||||
|
[module/date]
|
||||||
|
type = internal/date
|
||||||
|
interval = 5
|
||||||
|
|
||||||
|
date =
|
||||||
|
date-alt = " %Y-%m-%d"
|
||||||
|
|
||||||
|
time = %H:%M
|
||||||
|
time-alt = %H:%M:%S
|
||||||
|
|
||||||
|
format-prefix =
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
format-prefix-background = ${colors.alter1}
|
||||||
|
;format-underline = ${colors.underline}
|
||||||
|
|
||||||
|
label = %date% %time%
|
||||||
|
label-foreground = ${colors.background}
|
||||||
|
label-background = ${colors.alter1}
|
||||||
|
|
||||||
|
[module/date2]
|
||||||
|
type = custom/script
|
||||||
|
interval = 5
|
||||||
|
|
||||||
|
exec = date +%R" "%a" "%d" "%b" "%Y
|
||||||
|
|
||||||
|
click-left = calendar.sh
|
||||||
|
|
||||||
|
format-prefix = " "
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
format-prefix-background = ${colors.alter1}
|
||||||
|
;format-underline = ${colors.underline}
|
||||||
|
|
||||||
|
label-foreground = ${colors.background}
|
||||||
|
label-background = ${colors.alter1}
|
||||||
|
|
||||||
|
[module/pulseaudio]
|
||||||
|
type = internal/pulseaudio
|
||||||
|
|
||||||
|
format-volume = <label-volume> <bar-volume>
|
||||||
|
format-volume-padding = 2
|
||||||
|
label-volume = VOL %percentage%%
|
||||||
|
label-volume-foreground = ${root.foreground}
|
||||||
|
|
||||||
|
label-muted = muted
|
||||||
|
label-muted-foreground = #666
|
||||||
|
|
||||||
|
bar-volume-width = 10
|
||||||
|
bar-volume-foreground-0 = #55aa55
|
||||||
|
bar-volume-foreground-1 = #55aa55
|
||||||
|
bar-volume-foreground-2 = #55aa55
|
||||||
|
bar-volume-foreground-3 = #55aa55
|
||||||
|
bar-volume-foreground-4 = #55aa55
|
||||||
|
bar-volume-foreground-5 = #f5a70a
|
||||||
|
bar-volume-foreground-6 = #ff5555
|
||||||
|
bar-volume-gradient = false
|
||||||
|
bar-volume-indicator = |
|
||||||
|
bar-volume-indicator-font = 7
|
||||||
|
bar-volume-fill = ─
|
||||||
|
bar-volume-fill-font = 7
|
||||||
|
bar-volume-empty = ─
|
||||||
|
bar-volume-empty-font = 7
|
||||||
|
bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
[module/temperature]
|
||||||
|
type = internal/temperature
|
||||||
|
thermal-zone = 0
|
||||||
|
warn-temperature = 60
|
||||||
|
|
||||||
|
format = <ramp> <label>
|
||||||
|
format-background = ${colors.alter2}
|
||||||
|
format-foreground = ${colors.background}
|
||||||
|
;format-underline = ${colors.underline}
|
||||||
|
format-warn = <ramp> <label-warn>
|
||||||
|
format-warn-background = ${colors.alert}
|
||||||
|
; format-warn-underline = ${self.format-underline}
|
||||||
|
|
||||||
|
label = %temperature-c%
|
||||||
|
label-background = ${colors.alter2}
|
||||||
|
label-warn = %temperature-c%
|
||||||
|
label-warn-foreground = ${colors.alert}
|
||||||
|
|
||||||
|
ramp-0 =
|
||||||
|
ramp-1 =
|
||||||
|
ramp-2 =
|
||||||
|
; ramp-foreground = ${colors.background}
|
||||||
|
|
||||||
|
[module/powermenu]
|
||||||
|
type = custom/menu
|
||||||
|
|
||||||
|
expand-right = true
|
||||||
|
|
||||||
|
format-spacing = 1
|
||||||
|
|
||||||
|
label-open =
|
||||||
|
label-open-foreground = ${colors.alert}
|
||||||
|
label-close = cancel
|
||||||
|
label-close-foreground = ${colors.alert}
|
||||||
|
label-separator = |
|
||||||
|
label-separator-foreground = ${colors.foreground-alt}
|
||||||
|
label-open-padding = 2
|
||||||
|
label-close-padding = 2
|
||||||
|
|
||||||
|
menu-0-0 = reboot
|
||||||
|
menu-0-0-exec = menu-open-1
|
||||||
|
menu-0-1 = power off
|
||||||
|
menu-0-1-exec = menu-open-2
|
||||||
|
|
||||||
|
menu-1-0 = cancel
|
||||||
|
menu-1-0-exec = menu-open-0
|
||||||
|
menu-1-1 = reboot
|
||||||
|
menu-1-1-exec = reboot
|
||||||
|
|
||||||
|
menu-2-0 = power off
|
||||||
|
menu-2-0-exec = poweroff
|
||||||
|
menu-2-1 = cancel
|
||||||
|
menu-2-1-exec = menu-open-0
|
||||||
|
|
||||||
|
[module/player-mpris-simple]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.scripts/player-mpris-simple.sh
|
||||||
|
interval = 3
|
||||||
|
click-left = playerctl previous 2> /dev/null
|
||||||
|
click-right = playerctl next 2> /dev/null
|
||||||
|
click-middle = playerctl play-pause 2> /dev/null
|
||||||
|
|
||||||
|
[module/info-redshift-temp]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.scripts/info-redshift-temp.sh
|
||||||
|
interval = 5
|
||||||
|
label-background = ${colors.alter1}
|
||||||
|
;format-underline=${colors.underline}
|
||||||
|
|
||||||
|
[module/bluetooth]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.scripts/bluetooth.sh
|
||||||
|
interval = 5
|
||||||
|
label-background = ${colors.alter2}
|
||||||
|
label-font = 4
|
||||||
|
;format-underline=${colors.underline}
|
||||||
|
|
||||||
|
[module/notification-github]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.scripts/notification-github.sh
|
||||||
|
interval = 60
|
||||||
|
label-background = ${colors.alter1}
|
||||||
|
|
||||||
|
[module/openweathermap-fullfeatured]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.scripts/openweathermap-fullfeatured.sh
|
||||||
|
interval = 600
|
||||||
|
label-font = 3
|
||||||
|
label-background = ${colors.alter2}
|
||||||
|
label-foreground = ${colors.background}
|
||||||
|
|
||||||
|
[module/pomo]
|
||||||
|
type = custom/script
|
||||||
|
interval = 1
|
||||||
|
exec = pomo status
|
||||||
|
label-background = ${colors.alter1}
|
||||||
|
label-foreground = ${colors.background}
|
||||||
|
|
||||||
|
[module/vpn-nordvpn-status]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.scripts/vpn-nordvpn-status.sh
|
||||||
|
interval = 5
|
||||||
|
label-background = ${colors.alter2}
|
||||||
|
label-foreground = ${colors.background}
|
||||||
|
|
||||||
|
|
||||||
|
[module/left-glyph]
|
||||||
|
type = custom/text
|
||||||
|
content = %{T5}%{T-}
|
||||||
|
content-background=${colors.background}
|
||||||
|
|
||||||
|
[module/right-glyph]
|
||||||
|
type = custom/text
|
||||||
|
content = %{T5}%{T-}
|
||||||
|
content-background=${colors.background}
|
||||||
|
|
||||||
|
[module/left-date]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/date.label-background}
|
||||||
|
|
||||||
|
[module/right-date]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/date.label-background}
|
||||||
|
|
||||||
|
[module/left-memory]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/memory.label-background}
|
||||||
|
|
||||||
|
[module/right-memory]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/memory.label-background}
|
||||||
|
|
||||||
|
[module/left-cpu]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/cpu.label-background}
|
||||||
|
|
||||||
|
[module/right-cpu]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/cpu.label-background}
|
||||||
|
|
||||||
|
[module/left-temp]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/temperature.label-background}
|
||||||
|
|
||||||
|
[module/right-temp]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/temperature.label-background}
|
||||||
|
|
||||||
|
[module/left-redshift]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/info-redshift-temp.label-background}
|
||||||
|
|
||||||
|
[module/right-redshift]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/info-redshift-temp.label-background}
|
||||||
|
|
||||||
|
[module/left-bluetooth]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/bluetooth.label-background}
|
||||||
|
|
||||||
|
[module/right-bluetooth]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/bluetooth.label-background}
|
||||||
|
|
||||||
|
[module/left-github]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/notification-github.label-background}
|
||||||
|
|
||||||
|
[module/right-github]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/notification-github.label-background}
|
||||||
|
|
||||||
|
[module/left-weather]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/openweathermap-fullfeatured.label-background}
|
||||||
|
|
||||||
|
[module/right-weather]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/openweathermap-fullfeatured.label-background}
|
||||||
|
|
||||||
|
[module/left-pomo]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/pomo.label-background}
|
||||||
|
|
||||||
|
[module/right-pomo]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/pomo.label-background}
|
||||||
|
|
||||||
|
[module/left-nordvpn]
|
||||||
|
inherit = module/left-glyph
|
||||||
|
content-foreground = ${module/vpn-nordvpn-status.label-background}
|
||||||
|
|
||||||
|
[module/right-nordvpn]
|
||||||
|
inherit = module/right-glyph
|
||||||
|
content-foreground = ${module/vpn-nordvpn-status.label-background}
|
||||||
|
|
||||||
|
[settings]
|
||||||
|
screenchange-reload = true
|
||||||
|
;compositing-background = xor
|
||||||
|
;compositing-background = screen
|
||||||
|
;compositing-foreground = source
|
||||||
|
;compositing-border = over
|
||||||
|
;pseudo-transparency = false
|
||||||
|
|
||||||
|
[global/wm]
|
||||||
|
margin-top = 0
|
||||||
|
margin-bottom = 0
|
||||||
|
|
||||||
|
; vim:ft=dosini
|
||||||
|
|
||||||
|
;
|
||||||
|
; ◢ ◣ ◥ ◤
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
; _ _ _ _ _ _ ____ _____ ____
|
||||||
|
; | | | | \ | | | | / ___|| ____| _ \
|
||||||
|
; | | | | \| | | | \___ \| _| | | | |
|
||||||
|
; | |_| | |\ | |_| |___) | |___| |_| |
|
||||||
|
; \___/|_| \_|\___/|____/|_____|____/
|
||||||
|
|
||||||
|
; __ __ ___ ____ _ _ _ _____ ____
|
||||||
|
; | \/ |/ _ \| _ \| | | | | | ____/ ___|
|
||||||
|
; | |\/| | | | | | | | | | | | | _| \___ \
|
||||||
|
; | | | | |_| | |_| | |_| | |___| |___ ___) |
|
||||||
|
; |_| |_|\___/|____/ \___/|_____|_____|____/
|
||||||
|
|
||||||
|
[module/xwindow]
|
||||||
|
type = internal/xwindow
|
||||||
|
label = %title:0:30:...%
|
||||||
|
|
||||||
|
[module/xkeyboard]
|
||||||
|
type = internal/xkeyboard
|
||||||
|
blacklist-0 = num lock
|
||||||
|
|
||||||
|
format-prefix = " "
|
||||||
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
format-prefix-underline = ${colors.secondary}
|
||||||
|
|
||||||
|
label-layout = %layout%
|
||||||
|
label-layout-underline = ${colors.secondary}
|
||||||
|
|
||||||
|
label-indicator-padding = 2
|
||||||
|
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/alsa]
|
||||||
|
type = internal/alsa
|
||||||
|
|
||||||
|
format-volume = <label-volume> <bar-volume>
|
||||||
|
label-volume = VOL
|
||||||
|
label-volume-foreground = ${root.foreground}
|
||||||
|
label-volume-padding = 2
|
||||||
|
|
||||||
|
format-muted-prefix = " "
|
||||||
|
format-muted-foreground = ${colors.foreground-alt}
|
||||||
|
label-muted = sound muted
|
||||||
|
label-muted-padding = 2
|
||||||
|
|
||||||
|
bar-volume-width = 10
|
||||||
|
bar-volume-foreground-0 = #55aa55
|
||||||
|
bar-volume-foreground-1 = #55aa55
|
||||||
|
bar-volume-foreground-2 = #55aa55
|
||||||
|
bar-volume-foreground-3 = #55aa55
|
||||||
|
bar-volume-foreground-4 = #55aa55
|
||||||
|
bar-volume-foreground-5 = #f5a70a
|
||||||
|
bar-volume-foreground-6 = #ff5555
|
||||||
|
bar-volume-gradient = false
|
||||||
|
bar-volume-indicator = |
|
||||||
|
bar-volume-indicator-font = 2
|
||||||
|
bar-volume-fill = ─
|
||||||
|
bar-volume-fill-font = 2
|
||||||
|
bar-volume-empty = ─
|
||||||
|
bar-volume-empty-font = 2
|
||||||
|
bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
[module/battery]
|
||||||
|
type = internal/battery
|
||||||
|
battery = BAT0
|
||||||
|
adapter = ADP1
|
||||||
|
full-at = 98
|
||||||
|
|
||||||
|
format-charging = <animation-charging> <label-charging>
|
||||||
|
format-charging-underline = #ffb52a
|
||||||
|
|
||||||
|
format-discharging = <animation-discharging> <label-discharging>
|
||||||
|
format-discharging-underline = ${self.format-charging-underline}
|
||||||
|
|
||||||
|
format-full-prefix = " "
|
||||||
|
format-full-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
format-full-underline = ${self.format-charging-underline}
|
||||||
|
|
||||||
|
ramp-capacity-0 =
|
||||||
|
ramp-capacity-1 =
|
||||||
|
ramp-capacity-2 =
|
||||||
|
ramp-capacity-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
animation-charging-0 =
|
||||||
|
animation-charging-1 =
|
||||||
|
animation-charging-2 =
|
||||||
|
animation-charging-foreground = ${colors.foreground-alt}
|
||||||
|
animation-charging-framerate = 750
|
||||||
|
|
||||||
|
animation-discharging-0 =
|
||||||
|
animation-discharging-1 =
|
||||||
|
animation-discharging-2 =
|
||||||
|
animation-discharging-foreground = ${colors.foreground-alt}
|
||||||
|
animation-discharging-framerate = 750
|
||||||
|
|
||||||
|
[module/wlan]
|
||||||
|
type = internal/network
|
||||||
|
interface = net1
|
||||||
|
interval = 3.0
|
||||||
|
|
||||||
|
format-connected = <ramp-signal> <label-connected>
|
||||||
|
format-connected-underline = ${colors.underline}
|
||||||
|
label-connected = %essid%
|
||||||
|
|
||||||
|
format-disconnected =
|
||||||
|
;format-disconnected = <label-disconnected>
|
||||||
|
;format-disconnected-underline = ${self.format-connected-underline}
|
||||||
|
;label-disconnected = %ifname% disconnected
|
||||||
|
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
ramp-signal-0 =
|
||||||
|
ramp-signal-1 =
|
||||||
|
ramp-signal-2 =
|
||||||
|
ramp-signal-3 =
|
||||||
|
ramp-signal-4 =
|
||||||
|
ramp-signal-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
[module/mpd]
|
||||||
|
type = internal/mpd
|
||||||
|
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
|
||||||
|
|
||||||
|
icon-prev =
|
||||||
|
icon-stop =
|
||||||
|
icon-play =
|
||||||
|
icon-pause =
|
||||||
|
icon-next =
|
||||||
|
|
||||||
|
label-song-maxlen = 25
|
||||||
|
label-song-ellipsis = true
|
||||||
|
label-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
[module/xbacklight]
|
||||||
|
type = internal/xbacklight
|
||||||
|
|
||||||
|
format = <label> <bar>
|
||||||
|
label = BL
|
||||||
|
|
||||||
|
bar-width = 10
|
||||||
|
bar-indicator = |
|
||||||
|
bar-indicator-foreground = #fff
|
||||||
|
bar-indicator-font = 2
|
||||||
|
bar-fill = ─
|
||||||
|
bar-fill-font = 2
|
||||||
|
bar-fill-foreground = #9f78e1
|
||||||
|
bar-empty = ─
|
||||||
|
bar-empty-font = 2
|
||||||
|
bar-empty-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
[module/backlight-acpi]
|
||||||
|
inherit = module/xbacklight
|
||||||
|
type = internal/backlight
|
||||||
|
card = intel_backlight
|
||||||
|
|
||||||
|
[module/eth]
|
||||||
|
type = internal/network
|
||||||
|
interface = enp0s31f6
|
||||||
|
interval = 3.0
|
||||||
|
|
||||||
|
format-connected-underline = ${colors.underline}
|
||||||
|
format-connected-prefix = " "
|
||||||
|
format-connected-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
label-connected = %local_ip%
|
||||||
|
|
||||||
|
format-disconnected =
|
||||||
|
;format-disconnected = <label-disconnected>
|
||||||
|
;format-disconnected-underline = ${self.format-connected-underline}
|
||||||
|
;label-disconnected = %ifname% disconnected
|
||||||
|
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||||
|
|
414
.config/polybar/config3
Normal file
414
.config/polybar/config3
Normal file
@ -0,0 +1,414 @@
|
|||||||
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
||||||
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
||||||
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
||||||
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
||||||
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
||||||
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
||||||
|
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
; ____ ___ _ ___ ____ ____
|
||||||
|
; / ___/ _ \| | / _ \| _ \/ ___|
|
||||||
|
; | | | | | | | | | | | |_) \___ \
|
||||||
|
; | |__| |_| | |__| |_| | _ < ___) |
|
||||||
|
; \____\___/|_____\___/|_| \_\____/
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
background = #282e3a
|
||||||
|
background-alt = #d1c4e99
|
||||||
|
foreground = #e5e9f0
|
||||||
|
foreground-alt = #282e3a
|
||||||
|
primary = #ffb52a
|
||||||
|
secondary = #e60053
|
||||||
|
alert = #B48EAD
|
||||||
|
|
||||||
|
cyan = #88C0D0
|
||||||
|
aqua = #8FBCBB
|
||||||
|
red = #BF616A
|
||||||
|
yellow = #EBCB8B
|
||||||
|
green = #A3BE8C
|
||||||
|
orange = #D08770
|
||||||
|
magenta = #BF616A
|
||||||
|
white = #D8DEE9
|
||||||
|
pink = #C394B4
|
||||||
|
blue = #81a1c1
|
||||||
|
black = #3B4252
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[bar/example]
|
||||||
|
width = 100%
|
||||||
|
height = 20
|
||||||
|
radius = 0.0
|
||||||
|
fixed-center = true
|
||||||
|
|
||||||
|
background = ${colors.background}
|
||||||
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
padding-left = 0
|
||||||
|
padding-right = 0
|
||||||
|
|
||||||
|
border-size = 8
|
||||||
|
border-color = ${colors.background}
|
||||||
|
|
||||||
|
module-margin-left = 0
|
||||||
|
module-margin-right = 0
|
||||||
|
|
||||||
|
font-0 = "Inconsolata CondensedBlack:size=13;3"
|
||||||
|
font-1 = "SauceCodePro Nerd Font Mono:size=22;6"
|
||||||
|
font-2 = "Material Icons:pixelsize=15;5"
|
||||||
|
font-3 = "Sinji:pixelsize=15;5"
|
||||||
|
font-4 = "Togalite medium:pixelsize=11;2"
|
||||||
|
|
||||||
|
; MODULES SETUP
|
||||||
|
modules-left = launcher left1 bspwm left2
|
||||||
|
modules-center = medium1 windowtitle medium2 sep
|
||||||
|
modules-right = right1 filesystem cpu memory volume date right2 shutdown
|
||||||
|
|
||||||
|
tray-position = right
|
||||||
|
tray-padding = 5
|
||||||
|
;tray-background = #0063ff
|
||||||
|
|
||||||
|
cursor-click = pointer
|
||||||
|
cursor-scroll = pointer
|
||||||
|
|
||||||
|
line-size = 2
|
||||||
|
|
||||||
|
;separator = %{F#4C566A}|%{F-}
|
||||||
|
|
||||||
|
|
||||||
|
[module/left1]
|
||||||
|
type = custom/text
|
||||||
|
content-foreground = ${colors.black}
|
||||||
|
content = " "
|
||||||
|
|
||||||
|
[module/left2]
|
||||||
|
type = custom/text
|
||||||
|
content-foreground = ${colors.black}
|
||||||
|
content = ""
|
||||||
|
|
||||||
|
[module/medium1]
|
||||||
|
type = custom/text
|
||||||
|
content-foreground = ${colors.black}
|
||||||
|
content = " "
|
||||||
|
|
||||||
|
[module/medium2]
|
||||||
|
type = custom/text
|
||||||
|
content-foreground = ${colors.black}
|
||||||
|
content = ""
|
||||||
|
|
||||||
|
[module/right1]
|
||||||
|
type = custom/text
|
||||||
|
content-foreground = ${colors.black}
|
||||||
|
content = " "
|
||||||
|
|
||||||
|
[module/right2]
|
||||||
|
type = custom/text
|
||||||
|
content-foreground = ${colors.black}
|
||||||
|
content = ""
|
||||||
|
|
||||||
|
[module/sep]
|
||||||
|
type = custom/text
|
||||||
|
content = " "
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/bspwm]
|
||||||
|
type = internal/bspwm
|
||||||
|
;ws-icon-0 = TERM;%{F#A3BE8C}
|
||||||
|
;ws-icon-1 = WEB;%{F#D08770}
|
||||||
|
;ws-icon-2 = CODE;%{F#81A1C1}
|
||||||
|
;ws-icon-3 = MISC;%{F#EBCB8B}
|
||||||
|
;ws-icon-4 = EDIT;%{F#B48EAD}
|
||||||
|
;ws-icon-5 = CHAT;%{F#88C0D0}
|
||||||
|
;ws-icon-6 = DISCORD;%{F#D08770}ﭮ
|
||||||
|
;ws-icon-7 = MUSIC;%{F#A3BE8C}
|
||||||
|
;ws-icon-default = ♟
|
||||||
|
|
||||||
|
label-focused = "%name%"
|
||||||
|
label-focused-background = ${colors.black}
|
||||||
|
;label-focused-underline= ${colors.cyan}
|
||||||
|
label-focused-foreground = #88C0D0
|
||||||
|
label-focused-padding = 2
|
||||||
|
|
||||||
|
label-occupied = %name%
|
||||||
|
label-occupied-background = ${colors.black}
|
||||||
|
label-occupied-foreground = #D8DEE9
|
||||||
|
label-occupied-padding = 2
|
||||||
|
|
||||||
|
label-urgent = %name%
|
||||||
|
label-urgent-background = ${colors.black}
|
||||||
|
label-urgent-foreground = #BF616A
|
||||||
|
label-urgent-padding = 2
|
||||||
|
|
||||||
|
label-empty = %name%
|
||||||
|
label-empty-background = ${colors.black}
|
||||||
|
label-empty-foreground = #2E3440
|
||||||
|
label-empty-padding = 2
|
||||||
|
|
||||||
|
|
||||||
|
; Separator in between workspaces
|
||||||
|
label-separator =
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/launcher]
|
||||||
|
type = custom/script
|
||||||
|
exec = echo
|
||||||
|
;exec = echo
|
||||||
|
interval = 100
|
||||||
|
label = " %output% "
|
||||||
|
|
||||||
|
;format-background = ${colors.white}
|
||||||
|
format-foreground = ${colors.blue}
|
||||||
|
|
||||||
|
click-left = $HOME/.config/bspwm/rofi/bin/launcher
|
||||||
|
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/kernel-name]
|
||||||
|
type = custom/script
|
||||||
|
exec = uname -r
|
||||||
|
interval = 10000
|
||||||
|
label = " %output% "
|
||||||
|
format-foreground = ${colors.white}
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/filesystem]
|
||||||
|
type = internal/fs
|
||||||
|
|
||||||
|
|
||||||
|
; Mountpoints to display
|
||||||
|
mount-0 = /
|
||||||
|
|
||||||
|
; Seconds to sleep between updates
|
||||||
|
; Default: 30
|
||||||
|
interval = 10
|
||||||
|
|
||||||
|
; Display fixed precision values
|
||||||
|
; Default: false
|
||||||
|
fixed-values = true
|
||||||
|
|
||||||
|
; Spacing between entries
|
||||||
|
; Default: 2
|
||||||
|
spacing = 4
|
||||||
|
|
||||||
|
; Available tags:
|
||||||
|
; <label-mounted> (default)
|
||||||
|
; <bar-free>
|
||||||
|
; <bar-used>
|
||||||
|
; <ramp-capacity>
|
||||||
|
format-mounted = <label-mounted>
|
||||||
|
|
||||||
|
; Available tags:
|
||||||
|
; <label-unmounted> (default)
|
||||||
|
format-unmounted = <label-unmounted>
|
||||||
|
|
||||||
|
; Available tokens:
|
||||||
|
; %mountpoint%
|
||||||
|
; %type%
|
||||||
|
; %fsname%
|
||||||
|
; %percentage_free%
|
||||||
|
; %percentage_used%
|
||||||
|
; %total%
|
||||||
|
; %free%
|
||||||
|
; %used%
|
||||||
|
; Default: %mountpoint% %percentage_free%%
|
||||||
|
label-mounted = " %percentage_used%% "
|
||||||
|
|
||||||
|
; Available tokens:
|
||||||
|
; %mountpoint%
|
||||||
|
; Default: %mountpoint% is not mounted
|
||||||
|
label-unmounted = %mountpoint%: not mounted
|
||||||
|
label-unmounted-foreground = #55
|
||||||
|
label-unmounted-background = ${colors.black}
|
||||||
|
label-mounted-background = ${colors.black}
|
||||||
|
|
||||||
|
label-mounted-foreground = ${colors.blue}
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/windowtitle]
|
||||||
|
type = internal/xwindow
|
||||||
|
format = <label>
|
||||||
|
format-background = ${colors.black}
|
||||||
|
format-foreground = ${colors.cyan}
|
||||||
|
format-padding = 1
|
||||||
|
label = " %title%"
|
||||||
|
label-maxlen = 30
|
||||||
|
label-empty = " "
|
||||||
|
label-separator = " "
|
||||||
|
label-empty-foreground = ${colors.cyan}
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/volume]
|
||||||
|
type = internal/pulseaudio
|
||||||
|
format-volume = "<ramp-volume> <label-volume>"
|
||||||
|
ramp-volume-0 =" "
|
||||||
|
ramp-volume-0-font = 1
|
||||||
|
ramp-volume-1 =" 墳"
|
||||||
|
ramp-volume-1-font = 1
|
||||||
|
ramp-volume-2 =" 墳"
|
||||||
|
ramp-volume-2-font = 1
|
||||||
|
format-volume-background = ${colors.black}
|
||||||
|
format-volume-foreground = ${colors.cyan}
|
||||||
|
format-volume-padding = 1
|
||||||
|
|
||||||
|
format-muted = <label-muted>
|
||||||
|
format-muted-background = ${colors.black}
|
||||||
|
format-muted-foreground = ${colors.red}
|
||||||
|
label-muted =" "
|
||||||
|
format-muted-font = 2
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/battery]
|
||||||
|
type = internal/battery
|
||||||
|
battery = BAT0
|
||||||
|
adapter = ADP1
|
||||||
|
full-at = 100
|
||||||
|
|
||||||
|
format-charging = <label-charging>
|
||||||
|
format-charging-prefix = " "
|
||||||
|
format-charging-prefix-font = 2
|
||||||
|
label-charging = "%percentage%% "
|
||||||
|
|
||||||
|
format-discharging = <label-discharging>
|
||||||
|
label-discharging = "%percentage%% "
|
||||||
|
format-discharging-prefix = " "
|
||||||
|
format-discharging-prefix-font = 2
|
||||||
|
|
||||||
|
format-discharging-background = ${colors.aqua}
|
||||||
|
format-discharging-foreground = ${colors.background}
|
||||||
|
|
||||||
|
format-charging-background = ${colors.orange}
|
||||||
|
format-charging-foreground = ${colors.background}
|
||||||
|
|
||||||
|
label-full =
|
||||||
|
format-full-background = ${colors.green}
|
||||||
|
format-full-foreground = ${colors.background}
|
||||||
|
format-full-prefix-font = 1
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/network]
|
||||||
|
type = internal/network
|
||||||
|
interface = wlan0
|
||||||
|
format-connected = <label-connected>
|
||||||
|
format-connected-prefix = " "
|
||||||
|
format-connected-prefix-font = 2
|
||||||
|
label-connected = " %essid%%downspeed:9% "
|
||||||
|
label-connected-font = 1
|
||||||
|
|
||||||
|
format-disconnected = <label-disconnected>
|
||||||
|
label-disconnected =
|
||||||
|
label-disconnected-font = 2
|
||||||
|
|
||||||
|
format-connected-background = ${colors.cyan}
|
||||||
|
format-connected-foreground = ${colors.background}
|
||||||
|
format-disconnected-background = ${colors.white}
|
||||||
|
format-disconnected-foreground = ${colors.background}
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/memory]
|
||||||
|
type = internal/memory
|
||||||
|
; Seconds to sleep between updates
|
||||||
|
interval = 3
|
||||||
|
|
||||||
|
label = " %percentage_used%%"
|
||||||
|
|
||||||
|
format-prefix-padding = 2
|
||||||
|
format-prefix-font = 2
|
||||||
|
format-prefix-foreground = #ffffff
|
||||||
|
format-background = ${colors.black}
|
||||||
|
format-foreground = ${colors.pink}
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/wired-network]
|
||||||
|
type = internal/network
|
||||||
|
interface = enp2s0
|
||||||
|
interval = 3.0
|
||||||
|
|
||||||
|
udspeed-minwidth = 5
|
||||||
|
|
||||||
|
accumulate-stats = true
|
||||||
|
unknown-as-up = true
|
||||||
|
|
||||||
|
format-connected = <label-connected>
|
||||||
|
format-disconnected = <label-disconnected>
|
||||||
|
|
||||||
|
label-connected = " %downspeed% "
|
||||||
|
label-connected-foreground = ${colors.background}
|
||||||
|
label-connected-background = ${colors.green}
|
||||||
|
|
||||||
|
label-disconnected = " "
|
||||||
|
label-disconnected-foreground = ${colors.background}
|
||||||
|
label-disconnected-background = ${colors.white}
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/cpu]
|
||||||
|
type = internal/cpu
|
||||||
|
|
||||||
|
interval = 1
|
||||||
|
format = <label>
|
||||||
|
label = " %percentage%% "
|
||||||
|
|
||||||
|
format-background = ${colors.black}
|
||||||
|
format-foreground = ${colors.yellow}
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/date]
|
||||||
|
type = internal/date
|
||||||
|
interval = 1
|
||||||
|
|
||||||
|
date =
|
||||||
|
date-alt = " 﨟 %A, %b %d -"
|
||||||
|
|
||||||
|
time = " %H:%M "
|
||||||
|
time-alt = "%H:%M:%S "
|
||||||
|
|
||||||
|
;format-prefix = ""
|
||||||
|
format-prefix-padding = 1
|
||||||
|
format-prefix-font = 1
|
||||||
|
format-prefix-foreground = #ffffff
|
||||||
|
format-background = ${colors.black}
|
||||||
|
format-foreground = ${colors.white}
|
||||||
|
|
||||||
|
label = %date% %time%
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[module/shutdown]
|
||||||
|
type = custom/text
|
||||||
|
content = " "
|
||||||
|
;content-background = ${colors.black}
|
||||||
|
content-foreground = ${colors.red}
|
||||||
|
content-padding = 1
|
||||||
|
click-left = $HOME/.config/polybar/scripts/rofi-poweroff.sh
|
||||||
|
click-right = $HOME/.config/polybar/scripts/rofi-poweroff.sh
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[settings]
|
||||||
|
screenchange-reload = true
|
||||||
|
;compositing-background = xor
|
||||||
|
;compositing-background = screen
|
||||||
|
;compositing-foreground = source
|
||||||
|
;compositing-border = over
|
||||||
|
;pseudo-transparency = false
|
||||||
|
|
||||||
|
[global/wm]
|
||||||
|
;margin-top = 5
|
||||||
|
;margin-bottom = 5
|
||||||
|
|
||||||
|
; vim:ft=dosini
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user