summaryrefslogtreecommitdiff
path: root/.config/polybar/config
diff options
context:
space:
mode:
authorAdam Stück <adam.moloney.stuck@gmail.com>2021-08-02 17:19:43 +0200
committerAdam Stück <adam.moloney.stuck@gmail.com>2021-08-02 17:19:43 +0200
commitb8df737ff754769fbd192083495ea0a58efc1dc4 (patch)
tree62959adfdf87e3411d7804352ca3aaf3666b68ae /.config/polybar/config
parentb1e97ffa5f26d0ee5f5cb4fce2b2d1de7914802e (diff)
Added the rest of my dotfiles
Diffstat (limited to '.config/polybar/config')
-rw-r--r--.config/polybar/config212
1 files changed, 212 insertions, 0 deletions
diff --git a/.config/polybar/config b/.config/polybar/config
new file mode 100644
index 0000000..67fe125
--- /dev/null
+++ b/.config/polybar/config
@@ -0,0 +1,212 @@
+[colors]
+;background = ${xrdb:color0:#222}
+;background = #10152c
+;background = #080f1f
+background = #090809
+background-alt = #1b2f60
+;foreground = ${xrdb:color7:#222}
+foreground = #dfdfdf
+foreground-alt = #254183
+primary = #ffb52a
+secondary = #e60053
+alert = #bd2c40
+
+
+
+[bar/bar1]
+monitor = DP-2
+width = 100%
+height = 25
+;offset-x = 1%
+;offset-y = 1%
+radius = 0
+fixed-center = false
+bottom = true
+
+background = ${colors.background}
+foreground = ${colors.foreground}
+
+line-size = 0
+line-color = #f00
+
+border-size = 0
+border-color = #00000000
+
+padding-left = 0
+padding-right = 2
+
+module-margin-left = 1
+module-margin-right = 2
+
+;font-0 = SFNS Display:style=Bold:size=12;3
+font-0 = SFNS Display:style=Regular:size=13;3
+font-1 = Font Awesome 5 Free Regular:size=12;3
+font-2 = Font Awesome 5 Free Solid:size=12;3
+
+modules-left = i3
+modules-center =
+modules-right = xkeyboard pulseaudio date
+
+tray-position = right
+tray-padding = 2
+;tray-background = #0063ff
+
+cursor-click = pointer
+cursor-scroll = ns-resize
+
+enable-ipc = true
+
+
+
+[bar/bar2]
+monitor = DP-4.8
+width = 100%
+height = 25
+;offset-x = 1%
+;offset-y = 1%
+radius = 0
+fixed-center = false
+bottom = true
+
+background = ${colors.background}
+foreground = ${colors.foreground}
+
+line-size = 0
+line-color = #f00
+
+border-size = 0
+border-color = #00000000
+
+padding-left = 0
+padding-right = 0
+
+module-margin-left = 1
+module-margin-right = 2
+
+font-0 = SFNS Display:style=Regular:size=13;3
+font-1 = Font Awesome 5 Free Regular:size=12;3
+font-2 = Font Awesome 5 Free Solid:size=12;3
+
+modules-left = i3
+modules-center =
+modules-right = date
+
+tray-position = none
+tray-padding = 2
+;tray-background = #0063ff
+
+cursor-click = pointer
+cursor-scroll = ns-resize
+
+enable-ipc = true
+
+
+
+[module/xkeyboard]
+type = internal/xkeyboard
+blacklist-0 = num lock
+
+;format-prefix = "  "
+;format-prefix-foreground = ${colors.foreground}
+;format-prefix-background = ${colors.background-alt}
+
+;label-layout = "%layout% "
+label-layout = " %layout% "
+label-layout-background = ${colors.background-alt}
+
+label-indicator-padding = 2
+label-indicator-margin = 1
+label-indicator-background = ${colors.secondary}
+
+
+
+[module/i3]
+type = internal/i3
+format = <label-state> <label-mode>
+index-sort = true
+wrapping-scroll = false
+
+; Only show workspaces on the same output as the bar
+pin-workspaces = true
+
+label-mode-padding = 3
+label-mode-foreground = #000
+label-mode-background = ${colors.primary}
+
+; focused = Active workspace on focused monitor
+label-focused = %index%
+label-focused-background = ${colors.background-alt}
+label-focused-foreground = #f1e98a
+label-focused-underline= ${colors.primary}
+label-focused-padding = 3
+
+; unfocused = Inactive workspace on any monitor
+label-unfocused = %index%
+label-unfocused-padding = 3
+
+; visible = Active workspace on unfocused monitor
+label-visible = %index%
+label-visible-background = ${self.label-focused-background}
+label-visible-underline = ${self.label-focused-underline}
+label-visible-padding = ${self.label-focused-padding}
+
+; urgent = Workspace with urgency hint set
+label-urgent = %index%
+label-urgent-background = ${colors.alert}
+label-urgent-padding = 3
+
+; Separator in between workspaces
+; label-separator = |
+
+
+
+[module/date]
+type = internal/date
+interval = 5
+
+date = ""
+date-alt = " %a %b %d"
+
+time = %H:%M
+time-alt = %H:%M
+
+;format-prefix = "  "
+;format-prefix-background = ${colors.background-alt}
+;format-prefix-foreground = ${colors.foreground}
+;format-underline = #0a6cf5
+
+label = " %date% %time% "
+label-background = ${colors.background-alt}
+
+
+
+[module/pulseaudio]
+type = internal/pulseaudio
+
+format-volume = <label-volume>
+
+label-volume = "  %percentage% "
+label-volume-foreground = ${root.foreground}
+label-volume-background = ${colors.background-alt}
+
+label-muted = "  muted "
+label-muted-foreground = #999
+label-muted-background = ${colors.background-alt}
+
+
+
+[settings]
+screenchange-reload = true
+;compositing-background = xor
+;compositing-background = screen
+;compositing-foreground = source
+;compositing-border = over
+;pseudo-transparency = false
+
+
+
+[global/wm]
+margin-top = 5
+margin-bottom = 5
+
+; vim:ft=dosini