231 lines
5.7 KiB
INI
231 lines
5.7 KiB
INI
;==========================================================
|
|
;
|
|
;
|
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
|
;
|
|
;
|
|
; To learn more about how to configure Polybar
|
|
; go to https://github.com/polybar/polybar
|
|
;
|
|
; The README contains a lot of information
|
|
;
|
|
;==========================================================
|
|
|
|
[colors]
|
|
background = #282A2E
|
|
background-alt = #373B41
|
|
foreground = #C5C8C6
|
|
primary = #F0C674
|
|
secondary = #8ABEB7
|
|
alert = #A54242
|
|
disabled = #707880
|
|
rosewater = #f5e0dc
|
|
flamingo = #f2cdcd
|
|
pink = #f5c2e7
|
|
mauve = #cba6f7
|
|
red = #f38ba8
|
|
maroon = #eba0ac
|
|
peach = #fab387
|
|
yellow = #f9e2af
|
|
green = #a6e3a1
|
|
teal = #94e2d5
|
|
sky = #89dceb
|
|
sapphire = #74c7ec
|
|
blue = #89b4fa
|
|
lavender = #b4befe
|
|
text = #cdd6f4
|
|
subtext1 = #bac2de
|
|
subtext0 = #a6adc8
|
|
overlay2 = #9399b2
|
|
overlay1 = #7f849c
|
|
overlay0 = #6c7086
|
|
surface2 = #585b70
|
|
surface1 = #45475a
|
|
surface0 = #313244
|
|
base = #1e1e2e
|
|
mantle = #181825
|
|
crust = #11111b
|
|
transparent = #FF00000
|
|
|
|
[bar/top]
|
|
width = 100%
|
|
height = 24pt
|
|
radius = 6
|
|
|
|
; dpi = 96
|
|
|
|
background = ${colors.base}
|
|
foreground = ${colors.text}
|
|
|
|
line-size = 3pt
|
|
|
|
border-size = 4pt
|
|
border-color = ${colors.crust}
|
|
|
|
padding-left = 0
|
|
padding-right = 1
|
|
|
|
module-margin = 1
|
|
|
|
separator = |
|
|
separator-foreground = ${colors.disabled}
|
|
|
|
font-0 = FiraCode Nerd Font Mono;2
|
|
font-1 = Symbols Nerd Font;2
|
|
|
|
modules-left = xworkspaces
|
|
modules-right = filesystem pulseaudio-control-output memory cpu wlan systray powermenu date
|
|
|
|
cursor-click = pointer
|
|
cursor-scroll = ns-resize
|
|
|
|
enable-ipc = true
|
|
|
|
; wm-restack = generic
|
|
; wm-restack = bspwm
|
|
; wm-restack = i3
|
|
|
|
; override-redirect = true
|
|
|
|
|
|
|
|
|
|
[module/powermenu]
|
|
type = custom/menu
|
|
|
|
label-open = %{T2}%{T-}
|
|
label-close = %{T2}%{T-}
|
|
label-open-foreground = ${colors.text}
|
|
label-open-padding = 1
|
|
label-separator = " | "
|
|
label-padding = 2
|
|
|
|
menu-0-0 = %{T2}%{T-}
|
|
menu-0-0-exec = zenity --question --text="Shutdown now?" --title="Confirm Shutdown" && shutdown now
|
|
menu-0-0-foreground = ${colors.alert}
|
|
|
|
menu-0-1 = %{T2}%{T-}
|
|
menu-0-1-exec = zenity --question --text="Reboot now?" --title="Confirm Reboot" && reboot
|
|
menu-0-1-foreground = ${colors.yellow}
|
|
|
|
|
|
|
|
|
|
|
|
[module/systray]
|
|
type = internal/tray
|
|
|
|
format-margin = 8pt
|
|
tray-spacing = 16pt
|
|
|
|
[module/xworkspaces]
|
|
type = internal/xworkspaces
|
|
|
|
label-active = %name%
|
|
label-active-background = ${colors.overlay0}
|
|
label-active-underline= ${colors.yellow}
|
|
label-active-padding = 1
|
|
|
|
label-occupied = %name%
|
|
label-occupied-padding = 1
|
|
|
|
label-urgent = %name%
|
|
label-urgent-background = ${colors.alert}
|
|
label-urgent-padding = 1
|
|
|
|
label-empty = %name%
|
|
label-empty-foreground = ${colors.disabled}
|
|
label-empty-padding = 1
|
|
|
|
[module/xwindow]
|
|
type = internal/xwindow
|
|
label = %title:0:60:...%
|
|
|
|
[module/filesystem]
|
|
type = internal/fs
|
|
interval = 25
|
|
|
|
mount-0 = /
|
|
mount-1 = /home
|
|
mount-2 = /mnt/data
|
|
|
|
label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
|
|
|
|
label-unmounted = %mountpoint% not mounted
|
|
label-unmounted-foreground = ${colors.disabled}
|
|
|
|
[module/pulseaudio-control-output]
|
|
type = custom/script
|
|
tail = true
|
|
format-underline = ${colors.cyan}
|
|
label-padding = 2
|
|
label-foreground = ${colors.text}
|
|
|
|
exec = pulseaudio-control --icons-volume "%{T2}%{T-},%{T2}%{T-}" --icon-muted "%{T2}%{T-} " --node-nicknames-from "device.description" --node-nickname "alsa_output.pci-0000_00_1f.3.analog-stereo:%{T2}%{T-} Speakers" --node-nickname "alsa_output.usb-SteelSeries_Arctis_Nova_7-00.analog-stereo:%{T2}%{T-} Headphones" listen
|
|
click-right = exec pavucontrol &
|
|
click-left = pulseaudio-control togmute
|
|
click-middle = pulseaudio-control --node-blacklist "alsa_output.pci-0000_01_00.1.hdmi-stereo" next-node
|
|
scroll-up = pulseaudio-control --volume-max 130 up
|
|
scroll-down = pulseaudio-control --volume-max 130 down
|
|
|
|
[module/xkeyboard]
|
|
type = internal/xkeyboard
|
|
# blacklist-0 = num lock
|
|
|
|
label-layout = %layout%
|
|
label-layout-foreground = ${colors.text}
|
|
|
|
label-indicator-padding = 1
|
|
label-indicator-margin = 1
|
|
label-indicator-foreground = ${colors.text}
|
|
label-indicator-background = ${colors.surface0}
|
|
|
|
[module/memory]
|
|
type = internal/memory
|
|
interval = 2
|
|
format-prefix = "RAM "
|
|
format-prefix-foreground = ${colors.primary}
|
|
label = %percentage_used:2%%
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 2
|
|
format-prefix = "CPU "
|
|
format-prefix-foreground = ${colors.primary}
|
|
label = %percentage:2%%
|
|
|
|
|
|
[module/wlan]
|
|
interface-type = wireless
|
|
type = internal/network
|
|
interval = 5
|
|
format-connected = <ramp-signal> <label-connected>
|
|
format-disconnected = <label-disconnected>
|
|
label-connected = %signal%% %downspeed:9% %{T2}%{T-} %upspeed:9% %{T2}%{T-}
|
|
label-disconnected = %{T2}%{T-}
|
|
ramp-signal-0 = %{T2}%{T-}
|
|
ramp-signal-1 = %{T2}%{T-}
|
|
ramp-signal-2 = %{T2}%{T-}
|
|
ramp-signal-3 = %{T2}%{T-}
|
|
ramp-signal-4 = %{T2}%{T-}
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
interval = 1
|
|
|
|
date = %H:%M
|
|
date-alt = %A %d %B %Y %H:%M
|
|
|
|
label = %date%
|
|
label-foreground = ${colors.primary}
|
|
|
|
[settings]
|
|
screenchange-reload = true
|
|
pseudo-transparency = true
|
|
|
|
; vim:ft=dosini |