diff options
| author | Jokler <jokler.contact@gmail.com> | 2019-05-14 22:13:09 +0200 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2019-05-14 22:13:09 +0200 |
| commit | 64b3f5883e5523e5193ba1583790cc8cfafcfe6e (patch) | |
| tree | 8c604f28ede436cb2f43bd0a1c3c70d4e12461e6 /.config/polybar/config | |
| download | dotfiles-64b3f5883e5523e5193ba1583790cc8cfafcfe6e.tar.gz dotfiles-64b3f5883e5523e5193ba1583790cc8cfafcfe6e.zip | |
Add scripts, polybar and i3 config files
Diffstat (limited to '.config/polybar/config')
| -rw-r--r-- | .config/polybar/config | 333 |
1 files changed, 333 insertions, 0 deletions
diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 0000000..ae2f8b9 --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,333 @@ + +[colors] +background = #2220 +background-alt = #444 +foreground = #dfdfdf +foreground-alt = #555 +primary = #0fb5aa +secondary = #e60053 +alert = #bd2c40 + + +[bar/left] +monitor = ${env:MONITOR:DVI-D-0} +width = 100% +height = 20 +radius = 0.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = "WunconSiji:pixelsize=10;1" + +modules-left = date +modules-center = +modules-right = i3 + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = + + +[bar/center] +monitor = ${env:MONITOR:DVI-I-1} +width = 100% +height = 25 +radius = 0.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = "WunconSiji:pixelsize=10;1" + +modules-left = i3 +modules-center = xwindow +modules-right = filesystem pulseaudio memory cpu eth temperature date powermenu + +tray-position = right +tray-padding = 2 + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = + + +[bar/right] +monitor = ${env:MONITOR:HDMI-0} +width = 100% +height = 20 +radius = 0.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = "WunconSiji:pixelsize=10;1" + +modules-left = i3 +modules-center = mpd +modules-right = date + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = + + +[module/xwindow] +type = internal/xwindow +label = %title% +label-maxlen = 100 + + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + + +[module/i3] +type = internal/i3 +format = <label-state> <label-mode> +index-sort = true +wrapping-scroll = false +reverse-scroll = false + +; Only show workspaces on the same output as the bar +pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %name% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %name% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %name% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = 2 + +; urgent = Workspace with urgency hint set +label-urgent = %name% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + + +[module/mpd] +type = internal/mpd +format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next> + +icon-prev = +icon-stop = +icon-play = +icon-pause = +icon-next = + +label-song-maxlen = 25 +label-song-ellipsis = true + + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #f90000 +label = %percentage:2%% + + +[module/memory] +type = internal/memory +interval = 2 +format = <ramp-used> <label> +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #4bffdc +label = %gb_used% +ramp-used-0 = ▁ +ramp-used-1 = ▂ +ramp-used-2 = ▃ +ramp-used-3 = ▄ +ramp-used-4 = ▅ +ramp-used-5 = ▆ +ramp-used-6 = ▇ +ramp-used-7 = █ + + +[module/eth] +type = internal/network +interface = enp0s25 +interval = 3.0 + +format-connected-underline = #55aa55 +format-connected-prefix = " " +format-connected-prefix-foreground = ${colors.foreground-alt} +label-connected = %local_ip% + +format-disconnected = + + +[module/date] +type = internal/date +interval = 5 + +date = " %y-%m-%d" +date-alt = + +time = %H:%M +time-alt = %H:%M:%S + +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #0a6cf5 + +label = %date% %time% + + +[module/pulseaudio] +type = internal/pulseaudio + +format-volume = <label-volume> <bar-volume> +label-volume = VOL %percentage%% +label-volume-foreground = ${root.foreground} + +label-muted = 🔇 muted +label-muted-foreground = #666 + +bar-volume-width = 10 +bar-volume-foreground-0 = #55aa55 +bar-volume-foreground-1 = #55aa55 +bar-volume-foreground-2 = #55aa55 +bar-volume-foreground-3 = #55aa55 +bar-volume-foreground-4 = #55aa55 +bar-volume-foreground-5 = #f5a70a +bar-volume-foreground-6 = #ff5555 +bar-volume-gradient = false +bar-volume-indicator = | +bar-volume-indicator-font = 2 +bar-volume-fill = ─ +bar-volume-fill-font = 2 +bar-volume-empty = ─ +bar-volume-empty-font = 2 +bar-volume-empty-foreground = ${colors.foreground-alt} + + +[module/temperature] +type = internal/temperature +thermal-zone = 0 +warn-temperature = 60 + +format = <ramp> <label> +format-underline = #f50a4d +format-warn = <ramp> <label-warn> +format-warn-underline = ${self.format-underline} + +label = %temperature-c% +label-warn = %temperature-c% +label-warn-foreground = ${colors.secondary} + +ramp-0 = +ramp-1 = +ramp-2 = +ramp-foreground = ${colors.foreground-alt} + + +[module/powermenu] +type = custom/menu + +expand-right = true + +format-spacing = 1 + +label-open = +label-open-foreground = ${colors.secondary} +label-close = cancel +label-close-foreground = ${colors.secondary} +label-separator = | +label-separator-foreground = ${colors.foreground-alt} + +menu-0-0 = reboot +menu-0-0-exec = menu-open-1 +menu-0-1 = power off +menu-0-1-exec = menu-open-2 + +menu-1-0 = cancel +menu-1-0-exec = menu-open-0 +menu-1-1 = reboot +menu-1-1-exec = systemctl reboot + +menu-2-0 = power off +menu-2-0-exec = systemctl poweroff +menu-2-1 = cancel +menu-2-1-exec = menu-open-0 + + +[settings] +screenchange-reload = true + +[global/wm] +margin-top = 5 +margin-bottom = 0 + +; vim:ft=dosini |
