diff --git a/.config/polybar/config.bak b/.config/polybar/config.bak new file mode 100644 index 0000000..e19f9b0 --- /dev/null +++ b/.config/polybar/config.bak @@ -0,0 +1,150 @@ +[colors] +background = #00000000 +foreground = #ffffff +focused = #bcecff +urgent = #ffdb9e + +[bar/bar] +width = 100% +height = 36 + +background = ${colors.background} +foreground = ${colors.foreground} + +wm-restack = bspwm + +radius = 0.0 + +line-size = 1 + +padding-left = 3 +padding-right = 4 + +module-margin = 2 + +font-0 = sans-serif:size=12;3 +font-1 = FontAwesome6FreeSolid:size=12;3 + +modules-left = bspwm-desktops window-title +modules-center = cpu memory disk +modules-right = battery wired-network wireless-network date-and-time + +locale = en_US.UTF-8 + +tray-position = none +tray-maxsize = 24 +tray-offset-x = -8 +tray-offset-y = 0 + +enable-ipc = true + +[settings] +screenchange-reload = true + +[module/bspwm-desktops] +type = internal/bspwm + +format = + +label-focused = %name% +label-focused-foreground = ${colors.focused} +label-focused-underline = ${colors.focused} +label-focused-padding = 2 + +label-occupied = %name% +label-occupied-foreground = ${colors.foreground} +label-occupied-padding = 2 + +label-urgent = %name% +label-urgent-foreground = ${colors.urgent} +label-urgent-underline = ${colors.urgent} +label-urgent-padding = 2 + +label-empty = + +[module/window-title] +type = internal/xwindow +label = %title% +label-maxlen = 50 + +[module/cpu] +type = internal/cpu +label = %percentage% % + +[module/memory] +type = internal/memory +interval = 1 +label = %gb_free% + +[module/disk] +type = internal/fs +mount-0 = / +interval = 10 +label-mounted = %free% + +[module/battery] +type = internal/battery +full-at = 99 +battery = BAT0 +adapter = AC0 + +format-charging = +format-discharging = +format-full =  + +label-charging = %percentage%% +label-discharging = %percentage%% + +ramp-capacity-0 =  +ramp-capacity-1 =  +ramp-capacity-2 =  +ramp-capacity-3 =  +ramp-capacity-4 =  + +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-3 =  +animation-charging-4 =  +animation-charging-framerate = 500 + +[module/wireless-network] +type = internal/network +interface = wlp2s0 +format-connected =  +;label-disconnected =  + +[module/wired-network] +type = internal/network +interface = enp3s0 +format-connected =  + +[module/pulseaudio-volume] +type = internal/pulseaudio + +sink = alsa_output.pci-0000_00_1b.0.analog-stereo +use-ui-max = false + +format-volume = + +label-muted =  + +ramp-volume-0 =  +ramp-volume-1 =  +ramp-volume-2 =  + +[module/keyboard-layout] +type = internal/xkeyboard + +format = + +[module/date-and-time] +type = internal/date + +date = %a, %b %e +date-alt = %A, %B %e, %Y + +time = %H:%M +time-alt = %H:%M:%S + +label = %date% %time% diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini new file mode 100644 index 0000000..5f53a1c --- /dev/null +++ b/.config/polybar/config.ini @@ -0,0 +1,143 @@ +[colors] +background = #00000000 +foreground = #ffffff +focused = #bcecff +urgent = #ffdb9e + +[bar/bar] +width = 100% +height = 36 + +background = ${colors.background} +foreground = ${colors.foreground} + +wm-restack = bspwm + +radius = 0.0 + +line-size = 1 + +padding-left = 3 +padding-right = 4 + +module-margin = 2 + +font-0 = sans-serif:size=12;3 +font-1 = FontAwesome6FreeSolid:size=12;3 + +modules-left = bspwm-desktops window-title +modules-center = cpu memory disk +modules-right = battery wired-network wireless-network date-and-time + +locale = en_US.UTF-8 + +tray-position = none +tray-maxsize = 24 +tray-offset-x = -8 +tray-offset-y = 0 + +enable-ipc = true + +[settings] +screenchange-reload = true + +[module/bspwm-desktops] +type = internal/bspwm + +format = + +label-focused = %name% +label-focused-foreground = ${colors.focused} +label-focused-underline = ${colors.focused} +label-focused-padding = 2 + +label-occupied = %name% +label-occupied-foreground = ${colors.foreground} +label-occupied-padding = 2 + +label-urgent = %name% +label-urgent-foreground = ${colors.urgent} +label-urgent-underline = ${colors.urgent} +label-urgent-padding = 2 + +label-empty = + +[module/window-title] +type = internal/xwindow +label = %title% +label-maxlen = 50 + +[module/cpu] +type = internal/cpu +label = %percentage% % + +[module/memory] +type = internal/memory +interval = 1 +label = %gb_free% + +[module/disk] +type = internal/fs +mount-0 = / +interval = 10 +label-mounted = %free% + +[module/battery] +type = internal/battery +full-at = 99 +battery = BAT0 +adapter = AC0 + +format-charging =  +format-discharging = +format-full =  + +label-charging = %percentage%%c +label-discharging = %percentage%%d + +ramp-capacity-0 =  +ramp-capacity-1 =  +ramp-capacity-2 =  +ramp-capacity-3 =  +ramp-capacity-4 =  + +[module/wireless-network] +type = internal/network +interface = wlp2s0 +format-connected =  +;label-disconnected =  + +[module/wired-network] +type = internal/network +interface = enp3s0 +format-connected =  + +[module/pulseaudio-volume] +type = internal/pulseaudio + +sink = alsa_output.pci-0000_00_1b.0.analog-stereo +use-ui-max = false + +format-volume = + +label-muted =  + +ramp-volume-0 =  +ramp-volume-1 =  +ramp-volume-2 =  + +[module/keyboard-layout] +type = internal/xkeyboard + +format = + +[module/date-and-time] +type = internal/date + +date = %a, %b %e +date-alt = %A, %B %e, %Y + +time = %H:%M +time-alt = %H:%M:%S + +label = %date% %time% diff --git a/.config/polybar/config2 b/.config/polybar/config2 new file mode 100644 index 0000000..2bd059d --- /dev/null +++ b/.config/polybar/config2 @@ -0,0 +1,637 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/jaagr/polybar +; +; The README contains alot of information +; +;========================================================== + +[colors] +background = ${xrdb:color0:#222} +;background = #222 +background-alt = #444 +foreground = ${xrdb:color7:#EEE} +;foreground = #dfdfdf +foreground-alt = #555 +primary = ${xrdb:color1:#777} +secondary = #e60053 +alert = #bd2c40 +underline = ${xrdb:color8} +cpu = ${xrdb:color11} +memory = ${xrdb:color14} +redshift = ${xrdb:color13} +bluetooth = ${xrdb:color15} +alter1 = ${xrdb:color4} +alter2 = ${xrdb:color3} + +[bar/bar1] +;monitor = ${env:MONITOR:DP1} +width = 98% +height = 27 +offset-x = 1% +;offset-y = 1% +radius = 0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 0 +border-color = #00000000 + +padding-left = 2 +padding-right = 0 + +module-margin-left = 0 +module-margin-right = 0 + +font-0 = cherry-11-r;2 +font-1 = Wuncon Siji:pixelsize=12;2 +font-2 = Weather Icons:size=12;4 +font-3 = Monoid Nerd Font Mono:size=12;2 +font-4 = SauceCodePro Nerd Font:size=18:antialias=false;4 +font-5 = Material Icons:size=10;2 +font-6 = unifont:fontformat=truetype:size=8:antialias=false;0 + + +modules-left = bspwm +modules-center = player-mpris-simple +modules-right = left-bluetooth bluetooth right-bluetooth left-redshift info-redshift-temp right-redshift left-memory memory right-memory left-cpu cpu right-cpu left-temp temperature right-temp left-date date2 right-date + +tray-position = right +tray-padding = 2 +;tray-background = #0063ff + +wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[bar/bar2] +monitor = ${env:MONITOR:HDMI2} +width = 98% +height = 27 +offset-x = 1% +;offset-y = 1% +radius = 0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 0 +border-color = #00000000 + +padding-left = 2 +padding-right = 0 + +module-margin-left = 0 +module-margin-right = 0 + +font-0 = cherry-11-r;2 +font-1 = Wuncon Siji:pixelsize=12;2 +font-2 = Weather Icons:size=12;4 +font-3 = Monoid Nerd Font Mono:size=12;2 +font-4 = SauceCodePro Nerd Font:size=18:antialias=false;4 +font-5 = Material Icons:size=10;2 +font-6 = unifont:fontformat=truetype:size=8:antialias=false;0 + + +modules-left = bspwm +modules-center = +modules-right = pulseaudio left-nordvpn vpn-nordvpn-status right-nordvpn left-pomo pomo right-pomo left-weather openweathermap-fullfeatured right-weather left-date date2 right-date + +wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/bspwm] + type = internal/bspwm + +label-focused = %name% +label-focused-background = ${colors.alter1} +label-focused-padding = 2 +label-focused-underline = ${colors.alter2} + +label-occupied = %name% +label-occupied-padding = 2 + +label-urgent = %name%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = %name% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 2 + +; Separator in between workspaces +; label-separator = | + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.background} +format-prefix-background = ${colors.alter1} +;format-underline = ${colors.underline} +label = %percentage:2%% +label-foreground = ${colors.background} +label-background = ${colors.alter1} + +[module/memory] +type = internal/memory +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.background} +format-prefix-background = ${colors.alter2} +;format-underline = ${colors.underline} +label = %percentage_used%% +label-foreground = ${colors.background} +label-background = ${colors.alter2} + +[module/date] +type = internal/date +interval = 5 + +date = +date-alt = " %Y-%m-%d" + +time = %H:%M +time-alt = %H:%M:%S + +format-prefix =  +format-prefix-foreground = ${colors.background} +format-prefix-background = ${colors.alter1} +;format-underline = ${colors.underline} + +label = %date% %time% +label-foreground = ${colors.background} +label-background = ${colors.alter1} + +[module/date2] +type = custom/script +interval = 5 + +exec = date +%R" "%a" "%d" "%b" "%Y + +click-left = calendar.sh + +format-prefix = " " +format-prefix-foreground = ${colors.background} +format-prefix-background = ${colors.alter1} +;format-underline = ${colors.underline} + +label-foreground = ${colors.background} +label-background = ${colors.alter1} + +[module/pulseaudio] +type = internal/pulseaudio + +format-volume = +format-volume-padding = 2 +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 = 7 +bar-volume-fill = ─ +bar-volume-fill-font = 7 +bar-volume-empty = ─ +bar-volume-empty-font = 7 +bar-volume-empty-foreground = ${colors.foreground-alt} + +[module/temperature] +type = internal/temperature +thermal-zone = 0 +warn-temperature = 60 + +format =