mirror of
https://github.com/StepanovPlaton/dotfiles.git
synced 2026-04-03 20:30:46 +04:00
Mon Dec 18 09:27:13 PM +04 2023 +'%Y-%m-%d %H:%M:%S'
This commit is contained in:
95
.config/polybar/config.ini
Normal file
95
.config/polybar/config.ini
Normal file
@@ -0,0 +1,95 @@
|
||||
[colors]
|
||||
background = ${xrdb:color0:#222}
|
||||
foreground = ${xrdb:color7:#222}
|
||||
primary = ${xrdb:color2:#222}
|
||||
secondary = ${xrdb:color5:#222}
|
||||
alert = ${xrdb:color1:#222}
|
||||
disabled = ${xrdb:color4:#222}
|
||||
|
||||
[bar/top_bar]
|
||||
width = 100%
|
||||
height = 20px
|
||||
radius = 5
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 5pt
|
||||
|
||||
border-size = 5px
|
||||
border-color = #00000000
|
||||
|
||||
padding-left = 1
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
font-0 = CodeNewRoman Nerd Font Mono:pixelsize=10;3
|
||||
|
||||
modules-left = xworkspaces
|
||||
modules-right = pulseaudio xkeyboard date systray
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
wm-restack = bspwm
|
||||
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active =
|
||||
label-active-foreground = ${colors.primary}
|
||||
label-active-background = ${colors.background}
|
||||
; label-active-underline = ${colors.primary}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied =
|
||||
label-occupied-foreground = ${colors.secondary}
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent =
|
||||
label-urgent-foreground = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty =
|
||||
label-empty-foreground = ${colors.foreground}
|
||||
label-empty-padding = 1
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
format-volume = <label-volume>
|
||||
label-muted = 0%
|
||||
label-muted-foreground = ${colors.disabled}
|
||||
interval = 1
|
||||
use-ui-max = false
|
||||
click-right = /bin/bash -c "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
|
||||
label-layout = %layout%
|
||||
label-layout-foreground = ${colors.foreground}
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
date = %H:%M
|
||||
date-alt = %Y-%m-%d %H:%M:%S
|
||||
|
||||
label = %date%
|
||||
label-foreground = ${colors.primary}
|
||||
|
||||
[module/systray]
|
||||
type = internal/tray
|
||||
|
||||
format-margin = 0pt
|
||||
tray-spacing = 2pt
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = true
|
||||
|
||||
; vim:ft=dosini
|
||||
Reference in New Issue
Block a user