You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

272 lines
7.1 KiB

[colors]
background = {{colors.bg}}
background-alt = {{colors.light_bg}}
foreground = {{colors.fg}}
red = {{colors.red}}
green = {{colors.green}}
yellow = {{colors.yellow}}
blue= {{colors.blue}}
purple = {{colors.magenta}}
cyan = {{colors.cyan}}
[settings]
screenchange-reload = true
[bar/bar]
enable-ipc = true
;monitor = ${env:MONITOR:eDP-1}
width = 100%
height = {{appearance.polybar.height}}
fixed-center = true
bottom = {{appearance.polybar.bottom}}
background = ${colors.background}
foreground = ${colors.foreground}
padding-left = 1
padding-right = 1
border-bottom-size = 0
border-top-size = 0
font-0 = {{typography.mono.font}}:style={{typography.mono.weight}}:size={{typography.mono.size}}:{{appearance.polybar.antialias}};{{appearance.polybar.text_offset}}
font-1 = {{typography.emoji.font}}:size={{typography.emoji.size}}:scale={{appearance.polybar.icon_font_scale}}:{{appearance.polybar.antialias}};{{appearance.polybar.text_offset}}
font-2 = {{typography.japanese.font}}:size={{typography.japanese.size}}:{{appearance.polybar.antialias}};{{appearance.polybar.text_offset}}
modules-left = {{appearance.polybar.modules_left}}
modules-center = {{appearance.polybar.modules_center}}
modules-right = {{appearance.polybar.modules_right}}
tray-position = "right"
tray-background = ${colors.background}
tray-padding = 0
tray-maxsize = 18
tray-detached = false
tray-offset-x = 0
[module/empty]
type = custom/script
[module/rofi]
type = custom/script
exec = echo "  "
format-background = ${colors.blue}
format-foreground = ${colors.foreground}
format-padding = 1
click-left = rofi -show run
click-right = rofi -show window
[module/window]
type = internal/xwindow
label = %title%
label-maxlen = 50
label-foreground = ${colors.foreground}
label-margin = 1
label-padding = 1
[module/i3]
type = internal/i3
index-sort = true
pin-workspaces = false
enable-scroll = true
wrapping-scroll = true
format = <label-state> <label-mode>
label-mode = %mode%
label-mode-padding = 1
label-mode-margin = 1
label-mode-background = ${colors.yellow}
label-mode-foreground = ${colors.background}
label-focused = {{appearance.polybar.i3_label}}
label-focused-padding = 1
label-focused-foreground = ${colors.green}
label-unfocused = {{appearance.polybar.i3_label}}
label-unfocused-padding= 1
label-unfocused-foreground = ${colors.background-alt}
label-urgent = {{appearance.polybar.i3_label}}
label-urgent-padding= 1
label-urgent-foreground = ${colors.red}
label-visible = {{appearance.polybar.i3_label}}
label-visible-padding= 1
label-visible-foreground = ${colors.purple}
ws-icon-0 = 1;{{appearance.polybar.ws0_icon}}
ws-icon-1 = 2;{{appearance.polybar.ws1_icon}}
ws-icon-2 = 3;{{appearance.polybar.ws2_icon}}
ws-icon-3 = 4;{{appearance.polybar.ws3_icon}}
ws-icon-4 = 5;{{appearance.polybar.ws4_icon}}
ws-icon-5 = 6;{{appearance.polybar.ws5_icon}}
ws-icon-6 = 7;{{appearance.polybar.ws6_icon}}
ws-icon-7 = 8;{{appearance.polybar.ws7_icon}}
ws-icon-8 = 9;{{appearance.polybar.ws8_icon}}
ws-icon-9 = 10;{{appearance.polybar.ws9_icon}}
ws-icon-default = {{appearance.polybar.ws_icon}}
[module/wifi]
type = internal/network
interface = {{appearance.polybar.wifi_dev}}
interval = 3.0
format-connected = <label-connected>
label-connected = "{{appearance.polybar.wifi_icon}} %essid% (%local_ip%)"
label-connected-padding = 1
label-connected-margin = 0
label-connected-foreground = ${colors.green}
format-disconnected = <label-disconnected>
label-disconnected = ""
label-disconnected-padding = 0
label-disconnected-foreground = ${colors.background}
[module/eth]
type = internal/network
interface = {{appearance.polybar.eth_dev}}
interval = 3.0
format-connected = <label-connected>
label-connected = "{{appearance.polybar.eth_icon}} %local_ip%"
label-connected-padding = 1
label-connected-margin = 0
label-connected-foreground = ${colors.green}
format-disconnected = <label-disconnected>
label-disconnected = ""
label-disconnected-padding = 0
label-disconnected-foreground = ${colors.background}
[module/cpu]
type = internal/cpu
interval = 2
label = {{appearance.polybar.cpu_icon}} %percentage%%
label-foreground = ${colors.cyan}
label-padding= 1
[module/memory]
type = internal/memory
interval = 2
label= {{appearance.polybar.ram_icon}} %percentage_used%%
label-foreground = ${colors.blue}
label-padding = 1
[module/date]
type = internal/date
label = "{{appearance.polybar.date_icon}} %date%"
date = %m/%d
time = %H:%M
interval = 5
label-padding = 1
label-foreground = ${colors.background-alt}
[module/time]
type = internal/date
label = "{{appearance.polybar.time_icon}} %time%"
date = %m/%d
time = %H:%M
interval = 5
label-padding = 1
label-foreground = ${colors.foreground}
[module/volume]
type = internal/pulseaudio
format-volume = <label-volume>
label-volume = "{{appearance.polybar.volume_icon}} %percentage%%"
label-volume-foreground = ${colors.green}
label-volume-padding = 1
label-muted = {{appearance.polybar.mute_icon}} %percentage%%
label-muted-foreground = ${colors.red}
label-muted-padding = 1
[module/battery]
type = internal/battery
full-at = 100
time-format = %H:%M
format-charging = <animation-charging> <label-charging>
label-charging = %percentage%%
format-charging-foreground = ${colors.green}
format-charging-padding = 1
format-full = "<label-full>"
label-full = " %percentage%% "
format-full-foreground= ${colors.green}
format-full-padding = 1
format-discharging = <ramp-capacity> <label-discharging>
label-discharging = "%percentage%%"
format-discharging-foreground = ${colors.yellow}
format-discharging-padding = 1
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-framerate = 800
[module/batteryemoji]
type = internal/battery
full-at = 100
time-format = %H:%M
format-charging = <label-charging>
label-charging = {{appearance.polybar.charging_icon}} %percentage%%
format-charging-foreground = ${colors.green}
format-charging-padding = 1
format-full = "<label-full>"
label-full = "{{appearance.polybar.full_charge_icon}} %percentage%% "
format-full-foreground= ${colors.green}
format-full-padding = 1
format-discharging = <label-discharging>
label-discharging = "{{appearance.polybar.discharging_icon}} %percentage%%"
format-discharging-foreground = ${colors.yellow}
format-discharging-padding = 1
[module/mpd]
type = internal/mpd
format-online = <label-song> <label-time>
format-online-spacing = 0
format-online-padding = 2
format-online-margin = 1
format-online-background = ${colors.background}
format-offline = <label-offline>
format-offline-foreground = ${colors.background-alt}
format-offline-background = ${colors.background}
format-offline-padding = 2
format-offline-margin = 1
label-offline = "mpd is off"
format-paused-foreground = ${colors.background-alt}
label-song-maxlen = 50
label-song-ellipsis = true
label-time-foreground = ${colors.background-alt}
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
;label-layout = " %layout%"
label-layout = {{appearance.polybar.layout_icon}} %layout%
label-layout-foreground = ${colors.purple}
label-layout-padding = 1
label-indicator-foreground = ${colors.red}
; vim:ft=dosini