Skip to content

Instantly share code, notes, and snippets.

@Dreameh
Created January 29, 2019 20:22
Show Gist options
  • Save Dreameh/7dc04a9245603f6079ea0ca7b031da8c to your computer and use it in GitHub Desktop.
Save Dreameh/7dc04a9245603f6079ea0ca7b031da8c to your computer and use it in GitHub Desktop.
polybar config
; vim: ft=dosini
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; Created By Aditya Shakya.
; Edited By ya boi Dreameh
;==========================================================
[color]
bg = #2e3440
fg = #FFFFFF
;==========================================================
[bar/main]
monitor = ${env:MONITOR:HDMI-A-1}
width = 100%
height = 32
offset-x = 0%
offset-y = 0%
bottom = false
fixed-center = true
line-size = 2
background = ${color.bg}
foreground = ${color.fg}
;==========================================================
font-0 = "Fantasque Sans Mono:pixelsize=12;3"
font-1 = "Iosevka Nerd Font:pixelsize=13;3"
font-2 = "Source Han Sans JP:pixelsize=13;3"
font-3 = "FontAwesome:pixelsize=10:0"
;==========================================================
cursor-click = pointer
cursor-scroll = ns-resize
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev
;== Tray location ==========================================
tray-position = right
tray-detached = false
tray-maxsize = 20
tray-transparent = true
tray-background = ${color.bg}
tray-offset-x = 0
tray-offset-y = 0
tray-padding = 0
tray-scale = 1.0
;== Module Location ========================================================
modules-left = workspaces
modules-center = date
modules-right = volume
;== Modules ========================================================
[module/workspaces]
type = internal/bspwm
pin-workspaces = false
enable-click = true
enable-scroll = true
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;
format = <label-state> <label-mode>
label-focused = %icon%
label-focused-background = ${color.bg}
label-focused-underline= #88c0d0
label-focused-padding = 1
label-focused-foreground = #4c556a
label-occupied = %icon%
label-occupied-padding = 1
label-occupied-background = ${color.bg}
label-urgent = %icon%
label-urgent-padding = 1
label-empty = %icon%
label-empty-foreground = #191e28
label-empty-padding = 1
format-foreground = ${color.fg}
format-background = ${color.bg}
;=============================================================
[module/volume]
type = internal/alsa
format-volume = <ramp-volume> <label-volume>
format-volume-padding = 2
format-volume-background =
label-volume = %percentage%%
label-muted = ""
label-muted-background =
label-muted-padding = 2
ramp-volume-0 = 奄
ramp-volume-1 = 奄
ramp-volume-2 = 奔
ramp-volume-3 = 奔
ramp-volume-4 = 墳
ramp-volume-5 = 墳
ramp-volume-6 = 墳
[module/date]
type = internal/date
interval = 30
label = %time%
label-padding = 2
label-background =
time =  %I:%M %p
time-alt =  %Y-%m-%d
;== EOF ========================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment