Rename
This commit is contained in:
165
files/.config/polybar/config
Normal file
165
files/.config/polybar/config
Normal file
@@ -0,0 +1,165 @@
|
||||
# vim:ft=dosini
|
||||
|
||||
[colors]
|
||||
background = #000000
|
||||
foreground = #ffffff
|
||||
urgent = #e06c75
|
||||
|
||||
[bar/laptop]
|
||||
monitor = ${env:MONITOR}
|
||||
|
||||
font-0 = "FiraCode Nerd Font Mono:pixelsize=9;2"
|
||||
font-1 = "IPAGothic:fontformat=truetype:antialias=false:pixelsize=9;2"
|
||||
font-2 = "Siji:size=7;1"
|
||||
font-3 = "Wuncon Siji:size=7;1"
|
||||
|
||||
height = 27px
|
||||
width = 100%
|
||||
|
||||
module-margin-right = 1
|
||||
module-margin-left = 1
|
||||
|
||||
padding-left = 1
|
||||
padding-right = 1
|
||||
|
||||
separator = /
|
||||
|
||||
modules-left = i3 xwindow
|
||||
modules-right = network volume backlight battery date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 1
|
||||
|
||||
foreground = ${colors.foreground}
|
||||
background = ${colors.background}
|
||||
|
||||
wm-name = i3
|
||||
wm-restack = i3
|
||||
|
||||
[bar/desktop]
|
||||
inherit = bar/laptop
|
||||
|
||||
modules-right = networkupdown volume date
|
||||
|
||||
[bar/desktop_second]
|
||||
inherit = bar/desktop
|
||||
|
||||
tray-position = none
|
||||
|
||||
modules-right = volume date
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
pin-workspaces = true
|
||||
wrapping-scroll = false
|
||||
format = <label-state> <label-mode>
|
||||
|
||||
ws-icon-0 = 1;一
|
||||
ws-icon-1 = 2;二
|
||||
ws-icon-2 = 3;三
|
||||
ws-icon-3 = 4;四
|
||||
ws-icon-4 = 5;五
|
||||
ws-icon-5 = 6;六
|
||||
ws-icon-6 = 7;七
|
||||
ws-icon-7 = 8;八
|
||||
ws-icon-8 = 9;九
|
||||
ws-icon-9 = 10;十
|
||||
ws-icon-default =
|
||||
|
||||
label-focused = "%icon%"
|
||||
label-focused-foreground = ${colors.background}
|
||||
label-focused-background = ${colors.foreground}
|
||||
label-focused-padding = 1
|
||||
|
||||
label-unfocused = "%icon%"
|
||||
label-unfocused-padding = 1
|
||||
|
||||
label-visible = "%icon%"
|
||||
label-visible-padding = 1
|
||||
|
||||
label-urgent = "%icon%"
|
||||
label-urgent-background = ${colors.urgent}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-mode-padding = 1
|
||||
label-mode-background = ${colors.urgent}
|
||||
label-mode-foreground = ${colors.background}
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title%
|
||||
label-maxlen = 100
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
date = %a, %d %H:%M
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
#ls -1 /sys/class/backlight
|
||||
card = amdgpu_bl0
|
||||
label = %percentage%%
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
apdapter = ADP1
|
||||
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
|
||||
label-charging = %percentage%%
|
||||
label-discharging = %percentage%%
|
||||
label-full = %percentage%%
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-5 =
|
||||
ramp-capacity-6 =
|
||||
ramp-capacity-7 =
|
||||
ramp-capacity-8 =
|
||||
ramp-capacity-9 =
|
||||
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
|
||||
animation-charging-framerate = 750
|
||||
|
||||
[module/volume]
|
||||
type = internal/pulseaudio
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
|
||||
ramp-volume-0 =
|
||||
ramp-volume-1 =
|
||||
ramp-volume-2 =
|
||||
ramp-volume-3 =
|
||||
ramp-volume-4 =
|
||||
ramp-headphones-0 =
|
||||
ramp-headphones-1 =
|
||||
|
||||
label-volume = %percentage%%
|
||||
format-muted-prefix = " "
|
||||
label-muted = muted
|
||||
|
||||
[module/network]
|
||||
type = internal/network
|
||||
interface = wlo1
|
||||
interval = 3.0
|
||||
accumulate-stats = true
|
||||
unknown-as-up = true
|
||||
label-connected = %essid%
|
||||
label-disconnected = no wifi
|
||||
|
||||
[module/networkupdown]
|
||||
type = internal/network
|
||||
interface = enp24s0
|
||||
interval = 3.0
|
||||
accumulate-stats = true
|
||||
unknown-as-up = true
|
||||
label-connected = %upspeed% %downspeed%
|
||||
Reference in New Issue
Block a user