This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/apps/de/polybar/config
Daniel Flanagan 2dda9880d5
Squashed commit of the following:
commit 74cc8fa92e
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Fri Jan 24 12:45:49 2020 -0600

    MIC SCRIPT

commit dbd88dde4b
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Thu Jan 23 12:38:19 2020 -0600

    Mic script, amd stuff, more fish fixes

commit dadb7da642
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Thu Jan 23 09:51:03 2020 -0600

    Remove more generated fish stuff, more fixes

commit b09a25cc17
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Wed Jan 22 17:25:47 2020 -0600

    More fixes to various things

commit 58f6626280
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Wed Jan 22 08:34:12 2020 -0600

    Updates

commit 00e919f7f5
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 14:28:45 2020 -0600

    Fix notes and add vim pager

commit 5100983350
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 14:01:06 2020 -0600

    More fixes and cleanup

commit 85eab2155c
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 13:09:31 2020 -0600

    More notes

commit da496b7f0c
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 12:43:55 2020 -0600

    Maybe actually fix colors?

commit 3c11353256
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 12:32:23 2020 -0600

    Colors fixed?

commit f2a5060e7d
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 11:40:26 2020 -0600

    Things

commit f44d0d5479
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 10:54:09 2020 -0600

    Kitty colors

commit 5f0fa76a67
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 10:49:06 2020 -0600

    More updates for fish migration

commit 5b05be9fe7
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 09:14:08 2020 -0600

    Nah

commit fe0f1d8e32
Merge: 52fe38f 205c12a
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 09:13:09 2020 -0600

    Merge branch 'dev' of ssh://git.lyte.dev:2222/lytedev/dotfiles into dev

commit 52fe38f42a
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 20 09:12:52 2020 -0600

    More fish fixes

commit 205c12a051
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Sat Jan 18 23:15:13 2020 -0600

    WIP

commit b73c4b26a4
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Fri Jan 17 10:36:20 2020 -0600

    Remove debug code, fix asdf references for fish

commit d6ecaf88be
Merge: 2e6b90b 46793bb
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Fri Jan 17 10:34:01 2020 -0600

    Merge remote-tracking branch 'origin/lappy' into dev

commit 2e6b90bed3
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Fri Jan 17 10:26:00 2020 -0600

    Pulsemixer > pavucontrol and some sway fixes

commit 46793bb735
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Fri Jan 17 03:02:53 2020 -0600

    Whew

commit 26f32a0c6b
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Thu Jan 16 17:01:59 2020 -0600

    WIP fish configuration

commit fb0389eea4
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Thu Jan 16 13:30:35 2020 -0600

    Fiiiish

commit 2f1af8411a
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Thu Jan 16 13:28:23 2020 -0600

    Stuff

commit ba8ec1f524
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Thu Jan 9 19:02:31 2020 -0600

    Fix some dock stuff, erlang with wx

commit d80a823ce2
Merge: 36d58e0 5195a85
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Wed Jan 8 13:32:56 2020 -0600

    Merge remote-tracking branch 'origin/lappy' into wip-refactor

commit 36d58e037f
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Wed Jan 8 10:59:45 2020 -0600

    Testing signed commits

commit 5195a855a6
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Tue Jan 7 19:38:43 2020 -0600

    Bars

commit 1acb330746
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Tue Jan 7 11:36:12 2020 -0600

    SWAAAAAY

commit f547e5ec28
Merge: aa29acb b1709d1
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Tue Jan 7 10:59:24 2020 -0600

    Merge remote-tracking branch 'origin/wip-refactor' into lappy

commit b1709d1e94
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Tue Jan 7 10:59:22 2020 -0600

    Stuff

commit aa29acb364
Merge: 66cc873 2456dad
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Tue Jan 7 10:58:29 2020 -0600

    Merge remote-tracking branch 'origin/wip-refactor' into lappy

commit 2456dad7de
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Jan 6 11:15:30 2020 -0600

    Zstd

commit 66cc8734a8
Author: Daniel Flanagan <daniel@lyte.dev>
Date:   Tue Dec 31 21:48:49 2019 -0600

    Fix sudo setup and use fancy email for git

commit a05c02e1fb
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Tue Dec 31 17:03:22 2019 -0600

    Fancy colors

commit 026220fe26
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Tue Dec 31 16:55:45 2019 -0600

    SMTP tools

commit e2a854df65
Merge: 0d0e131 825d91b
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Tue Dec 31 15:07:09 2019 -0600

    Merge branch 'wip-refactor' into lappy

commit 0d0e131714
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Tue Dec 31 14:26:44 2019 -0600

    Stuff

commit 825d91b462
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Tue Dec 31 10:15:01 2019 -0600

    Utility updates

commit ae350894af
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Dec 30 10:02:14 2019 -0600

    Lul.

commit ea5debe38c
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Dec 16 17:21:44 2019 -0600

    WIP chat system

commit c40fe94b70
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Dec 16 09:57:21 2019 -0600

    Add weechat config

commit 76e8a68c34
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Dec 16 09:51:21 2019 -0600

    Preparing for weechat stuf

commit 25aecdc139
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Fri Dec 13 11:32:15 2019 -0600

    Goodies?

commit 8d1e86feb4
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Thu Dec 12 13:31:18 2019 -0600

    Logging for pipelines?

commit b81bdf6abd
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Thu Dec 12 13:17:20 2019 -0600

    errors break things?

commit 6f7d80d761
Merge: 7659442 bc5ce9e
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Thu Dec 12 13:04:52 2019 -0600

    Merge branch 'master' of ssh://git.lyte.dev:2222/lytedev/dotfiles

commit 76594427ff
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Thu Dec 12 13:00:03 2019 -0600

    Pipelines!

commit 972508e74d
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Thu Dec 12 11:02:24 2019 -0600

    WIP pipeline

commit 898848669c
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Fri Dec 6 10:08:42 2019 -0600

    Archive

commit 16895af798
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Thu Dec 5 16:09:52 2019 -0600

    Helpful bins

commit 3a8eb5d475
Author: Daniel Flanagan <daniel@lytedev.io>
Date:   Mon Dec 2 09:31:28 2019 -0600

    Move a lot of stuff around
2020-01-24 12:46:51 -06:00

395 lines
8.8 KiB
Text

; ############################ ;
; ######### COLORS ######### ;
; ############################ ;
[colors]
foreground = ${xrdb:color7:#222222}
background = ${xrdb:color0:#111111}
tray-bg = #222222
icon = #555555
good = ${xrdb:color2}
neutral = ${xrdb:color3}
bad = ${xrdb:color1}
active = ${xrdb:color4}
alert = ${xrdb:color1}
bar-bg = ${xrdb:color3}
sysres = ${xrdb:color5}
levels = ${xrdb:color3}
net = ${xrdb:color1}
cpu = ${colors.sysres}
memory = ${colors.sysres}
filesystem = ${colors.sysres}
thermal = ${xrdb:color2}
battery-charging = ${colors.good}
battery-full = ${colors.good}
battery-discharging = ${colors.neutral}
; battery- = ${colors.good}
time = ${colors.foreground}
; ########################### ;
; ########## BAR ########## ;
; ########################### ;
[bar/lytedev]
monitor = ${env:BAR_MONITOR:HDMI-1}
width = ${env:BAR_WIDTH:HDMI-1}
height = ${env:BAR_HEIGHT:30}
offset-x = ${env:POS_X:30}
offset-y = ${env:POS_Y:30}
radius = 0.0
fixed-center = true
bottom = ${env:BAR_BOTTOM:true}
dpi = ${xrdb:dpi:92}
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 0
line-color = ${colors.foreground}
border-size = 0
border-color = #00000000
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 1
font-0 = ${env:BAR_FONT_DECLARATION}
font-1 = ${env:BAR_ICON_FONT_DECLARATION}
modules-left = bspwm
modules-center = date
modules-right = cpu filesystem memory volume xbacklight xkeyboard temperature battery microphone
tray-position = right
tray-padding = 0
tray-background = ${colors.tray-bg}
wm-restack = bspwm
override-redirect = true
; scroll-up = bspwm-desknext
; scroll-down = bspwm-deskprev
; ############################ ;
; ########### FS ########### ;
; ############################ ;
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = ${env:BAR_FS_VOLUME:/}
format = <label-mounted>
label-mounted = %free%
label-mounted-foreground = ${colors.filesystem}
format-mounted-prefix = " "
format-mounted-prefix-foreground = ${colors.icon}
; ########################### ;
; ######### BSPWM ######### ;
; ########################### ;
[module/bspwm]
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;
ws-icon-default = ♟
; misc icon: 
label-focused-font = 2
label-occupied-font = 2
label-urgent-font = 2
label-empty-font = 2
type = internal/bspwm
pin-workspaces = false
label-focused = %icon%
label-focused-background = ${colors.active}
label-focused-foreground = ${colors.background}
label-focused-padding = 2
label-occupied = %icon%
label-occupied-padding = 2
label-urgent = %icon%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %icon%
label-empty-foreground = ${colors.icon}
label-empty-padding = 2
; ########################### ;
; ########## MPD ########## ;
; ########################### ;
[module/mpd]
type = internal/mpd
format-online = <icon-prev> <toggle> <label-song> <icon-stop> <icon-next>
icon-prev = 
icon-stop = 
icon-play = 
icon-pause = 
icon-next = 
label-song-maxlen = 25
label-song-ellipsis = true
; ########################### ;
; ####### BACKLIGHT ####### ;
; ########################### ;
[module/xbacklight]
type = internal/xbacklight
format = <label> <bar>
format-foreground = ${colors.icon}
label = 
bar-width = 5
bar-indicator = |
bar-indicator-foreground = ${colors.foreground}
bar-indicator-font = 0
bar-fill = ─
; bar-fill = -
bar-fill-font = 0
bar-fill-foreground = ${colors.bar-bg}
bar-empty = ─
; bar-empty = -
bar-empty-font = 0
bar-empty-foreground = ${colors.bar-bg}
; ########################### ;
; ########## CPU ########## ;
; ########################### ;
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.icon}
label = %percentage-cores%
label-foreground = ${colors.cpu}
; ########################## ;
; ######## MEMORY ######## ;
; ########################## ;
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.icon}
label = %gb_free%
label-foreground = ${colors.memory}
; ########################## ;
; ######### WIFI ######### ;
; ########################## ;
[module/wifi]
type = internal/network
interface = ${env:BAR_WIFI_INTERFACE}
interval = 10.0
;format-connected = <ramp-signal> <label-connected>
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.icon}
format-connected = <label-connected>
label-connected = "%essid% %downspeed% %upspeed%"
label-connected-foreground = ${colors.wifi-connected}
format-disconnected-prefix = " "
format-disconnected-prefix-foreground = ${colors.icon}
format-disconnected = "N/A"
; format-disconnected = <label-disconnected>
; format-disconnected-underline = ${self.format-connected-underline}
; label-disconnected = %ifname% disconnected
; label-disconnected-foreground = ${colors.wifi-disconnected}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
[module/eth]
type = internal/network
interface = ${env:BAR_ETH_INTERFACE}
interval = 10.0
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.icon}
label-connected = %upspeed% %downspeed%
label-connected-foreground = ${colors.eth-connected}
format-disconnected = N/A
; format-disconnected = <label-disconnected>
; format-disconnected-underline = 0
; label-disconnected = %ifname% disconnected
; label-disconnected-foreground = ${colors.eth-disconnected}
; ########################### ;
; ######### CLOCK ######### ;
; ########################### ;
[module/date]
type = internal/date
interval = 1
date = "%a %Y-%m-%d "
date-alt =
time = %H:%M:%S
time-alt = %H:%M
label-foreground = ${colors.time}
format-prefix = " "
format-prefix-foreground = ${colors.icon}
label = %date%%time%
; ########################## ;
; ######## VOLUME ######## ;
; ########################## ;
[module/volume]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume = 
label-volume-foreground = ${colors.icon}
format-muted-prefix = " "
format-muted-foreground = ${colors.icon}
label-muted = M
bar-volume-width = 5
bar-volume-foreground-0 = ${colors.bar-bg}
bar-volume-foreground-1 = ${colors.bar-bg}
bar-volume-foreground-2 = ${colors.bar-bg}
bar-volume-foreground-3 = ${colors.bar-bg}
bar-volume-foreground-4 = ${colors.bar-bg}
bar-volume-foreground-5 = ${colors.bar-bg}
bar-volume-foreground-6 = ${colors.bar-bg}
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 0
bar-volume-fill = ─
bar-volume-fill-font = 0
bar-volume-empty = ─
bar-volume-empty-font = 0
bar-volume-empty-foreground = ${colors.icon}
; ######################### ;
; ####### BATTERY ####### ;
; ######################### ;
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
full-at = 98
label-discharging-foreground = ${colors.battery-discharging}
label-charging-foreground = ${colors.battery-charging}
label-full-foreground = ${colors.battery-full}
format-charging = <animation-charging> <label-charging>
format-discharging-prefix =
format-discharging-prefix-foreground = ${colors.icon}
format-discharging = <ramp-capacity> <label-discharging>
format-charging-prefix =
format-charging-prefix-foreground = ${colors.icon}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.icon}
ramp-capacity-0 = ""
ramp-capacity-1 = ""
ramp-capacity-2 = ""
ramp-capacity-foreground = ${colors.icon}
animation-charging-0 = ""
animation-charging-1 = ""
animation-charging-2 = ""
animation-charging-foreground = ${colors.icon}
animation-charging-framerate = 1000
; ########################## ;
; ####### THERMALS ####### ;
; ########################## ;
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
format = <ramp><label>
format-warn = <ramp> <label-warn>
label-foreground = ${colors.thermal}
format-prefix =
format-prefix-foreground = ${colors.icon}
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${colors.icon}
ramp-0 = " "
ramp-1 = " "
ramp-2 = " "
ramp-foreground = ${colors.icon}
; ######################## ;
; ###### SETTINGS ###### ;
; ######################## ;
[settings]
screenchange-reload = true
pseudo-transparency = false
compositing-background = source
compositing-foreground = source
compositing-border = source
; ######################### ;
; ####### GLOBALS ####### ;
; ######################### ;
[global/wm]
margin-top = ${env:WINDOW_GAP:0}
margin-bottom = ${env:WINDOW_GAP:0}
[module/microphone]
type = custom/script
exec = $DOTFILES_PATH/apps/de/polybar/mic.sh
tail = true
format = <label>
label-foreground = ${colors.icon}
label = %output%
click-left = kill -USR1 %pid%