Created
December 14, 2019 14:41
-
-
Save hatoba29/86736bed70a489a276ee85d8593e5e52 to your computer and use it in GitHub Desktop.
polybar setting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[colors] | |
red = #f92a72 | |
green = #a6e22e | |
orange = #fd971f | |
purple = #ae81ff | |
blue = #66d9ef | |
background = #222222 | |
foreground = #cfcfcf | |
[bar/main] | |
override-redirect = true | |
width = 1346 | |
height = 27 | |
offset-x = 10 | |
offset-y = 10 | |
background = ${colors.background} | |
foreground = ${colors.foreground} | |
radius = 5.0 | |
padding = 2 | |
module-margin-right = 1 | |
; font-0 for texts, font-1 for icons | |
;font-0 = NanumSquare:size=12:style=Bold;3 | |
font-0 = NanumSquareRound:size=12:style=Bold;3 | |
font-1 = SauceCodePro Nerd Font:size=12;3 | |
modules-left = os i3 | |
modules-center = | |
modules-right = wired wireless cpu memory pulseaudio battery date | |
tray-position = right | |
tray-maxsize = 6 | |
enable-ipc = true | |
[settings] | |
pseudo-transparency = true | |
; left modules | |
[module/os] | |
type = custom/text | |
content = | |
content-font = 2 | |
content-foreground = #1793d0 | |
[module/i3] | |
type = internal/i3 | |
enable-click = false | |
enable-scroll = false | |
ws-icon-0=1; | |
ws-icon-1=2; | |
ws-icon-2=3;ﱘ | |
ws-icon-default = | |
label-focused = %{T2}%icon%%{T-} %name% | |
label-focused-background = #999999 | |
label-focused-padding = 1 | |
label-unfocused = %{T2}%icon%%{T-} %name% | |
label-separator = " " | |
label-separator-padding = 0 | |
; right modules | |
[module/wired] | |
type = internal/network | |
interface = enp0s25 | |
label-connected = %{T2}%{T-} %upspeed% %{T2}%{T-} %downspeed% | |
[module/wireless] | |
type = internal/network | |
interface = wlp3s0 | |
label-connected = %{T2}%{T-} %upspeed% %{T2}%{T-} %downspeed% | |
[module/cpu] | |
type = internal/cpu | |
label = %{T2}%{T-} %percentage%% | |
[module/memory] | |
type = internal/memory | |
label = %{T2}%{T-} %percentage_used%% | |
[module/pulseaudio] | |
type = internal/pulseaudio | |
use-ui-max = false | |
format-volume = %{T2}墳%{T-} <label-volume> | |
label-muted = ﱝ | |
label-muted-font = 2 | |
[module/battery] | |
type = internal/battery | |
full-at = 99 | |
time-format = %H:%M | |
format-charging = %{T2}%{T-} <label-charging> | |
label-charging = %percentage%% %time% | |
label-full = %{T2}%{T-} %percentage%% | |
format-discharging = <ramp-capacity> <label-discharging> | |
label-discharging = %percentage%% %time% | |
ramp-capacity-0 = | |
ramp-capacity-1 = | |
ramp-capacity-2 = | |
ramp-capacity-3 = | |
ramp-capacity-4 = | |
ramp-capacity-font = 2 | |
[module/date] | |
type = internal/date | |
interval = 60.0 | |
date = %m/%d(%a) | |
time = %H:%M | |
format = %{T2}%{T-} <label> | |
label = %date% %time% | |
; vim:ft=dosini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment