diff --git a/.config/i3/config b/.config/i3/config index 0e2d40a4..c577823f 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -62,10 +62,10 @@ for_window [class="krunner"] floating enable; border none for_window [class="VirtualBox Machine" title="Windows"] fullscreen enable; move container to workspace $wVM for_window [class="Waterfox"] move to workspace $w1 for_window [class="Spotify"] move to workspace $w10 -hide_edge_borders smart +#hide_edge_borders smart # i3-gaps configs -gaps inner 0 +gaps inner 10 gaps outer 0 # Apply colors to i3 diff --git a/.config/polybar/config b/.config/polybar/config index 937efa90..e91c9aaa 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -8,20 +8,10 @@ # RESOURCES #======================================== [res/colors] -alert-dark = ${xrdb:color3} -alert = ${xrdb:color11} -alert-hard-dark = ${xrdb:color9} -alert-hard = ${xrdb:color1} +primary = ${xrdb:color4} +secondary = ${xrdb:color12} -primary-dark = ${xrdb:color4} -primary = ${xrdb:color12} - -resource-bad-dark = ${xrdb:color1} -resource-bad = ${xrdb:color9} -resource-good-dark = ${xrdb:color2} -resource-good = ${xrdb:color10} -resource-neutral-dark = ${xrdb:color5} -resource-neutral = ${xrdb:color13} +alert = ${xrdb:color3} background = ${xrdb:background} background-2 = ${xrdb:bg2} @@ -49,23 +39,20 @@ font-4 = [template/bar] # Rendering of the bar width = 100% -height = 32 +height = 30 # Module padding and spacing -padding = 2 module-margin = 1 -border-bottom-size = 0 -border-color = ${res/colors.background-2} - -overline-size = 4 -underline-size = 0 -line-color = ${res/colors.background-2} - -# Module colors -background = ${res/colors.background} +# Mild ricing +background = #00000000 foreground = ${res/colors.foreground} +border-top = 10 +border-left = ${self.border-top} +border-right = ${self.border-top} +border-color = #00000000 + # Module fonts font-0 = ${res/fonts.font-0} font-1 = ${res/fonts.font-1} @@ -79,18 +66,9 @@ font-4 = ${res/fonts.font-4} inherit = template/bar tray-position = right -modules-left = i3 | cpu-label memory-label temperature-label update-arch | xwindow-label -modules-center = -modules-right = | xbacklight-label volume-ramp wlan-network eth-network battery-ramp | date - -[bar/gamma] -inherit = template/bar -bottom = true -tray-position = right - -modules-left = i3 | -modules-center = xwindow-label -modules-right = | mpd-mini temperature-label-alert wlan-network-mini volume-ramp-mini battery-ramp-mini | date-mini +modules-left = i3 cpu memory +modules-center = xwindow +modules-right = xbacklight volume battery wlan date #======================================== # MODULES @@ -100,98 +78,64 @@ modules-right = | mpd-mini temperature-label-alert wlan-network-mini volume-ramp #==================== [module/|] type = custom/text -content =  +content = " " content-foreground = ${res/colors.background-4} -# CUSTOM -#==================== - -# TEMPLATE -#==================== -[template/module] -format-padding = 0 - -[template/module/battery] -inherit = template/module -type = internal/battery -battery = BAT0 -adapter = AC -full-at = 98 -interval = 15 - -[template/module/cpu] -inherit = template/module -type = internal/cpu -interval = 1 - -[template/module/network] -inherit = template/module -type = internal/network -interface = wlp1s0 -format-connected = -format-connected-prefix-foreground = ${res/colors.primary-dark} -format-disconnected = -format-disconnected-prefix-foreground = ${res/colors.alert} - -label-connected = %upspeed% %downspeed% - %signal%% -label-disconnected = "" - -interval = 1 - -[template/module/temperature] -inherit = template/module -type = internal/temperature -thermal-zone = 0 -warn-temperature = 250 - -# STOCK +# OTHER #==================== [module/i3] -inherit = template/module type = internal/i3 -format = +format = +format-prefix = "i3" +format-prefix-padding = 2 +format-prefix-foreground = ${res/colors.background} +format-prefix-background = ${res/colors.primary} enable-scroll = false index-sort = true label-mode-padding = 2 label-mode-foreground = ${res/colors.background} -label-mode-background = ${res/colors.primary} +label-mode-background = ${res/colors.secondary} -# Active workspace on focused monitor label-focused = %name% label-focused-padding = ${self.label-mode-padding} -label-focused-foreground = ${res/colors.primary-dark} +label-focused-foreground = ${self.label-mode-foreground} +label-focused-background = ${res/colors.secondary} -# Active workspace on unfocused monitor label-visible = ${self.label-focused} -label-visible-padding = ${self.label-focused-padding} -label-visible-foreground = ${res/colors.background} -label-visible-background = ${res/colors.background-3} +label-visible-padding = ${self.label-mode-padding} +label-visible-background = ${res/colors.background-4} -# Inactive workspace label-unfocused = ${self.label-focused} -label-unfocused-padding = ${self.label-focused-padding} +label-unfocused-padding = ${self.label-mode-padding} +label-unfocused-background = ${res/colors.background} -# Urgent workspace label-urgent = ${self.label-focused} -label-urgent-padding = ${self.label-focused-padding} -label-urgent-foreground = ${self.label-focused-foreground} +label-urgent-padding = ${self.label-mode-padding} label-urgent-background = ${res/colors.alert} -[module/battery-ramp] -inherit = template/module/battery -format-charging = -format-discharging = -format-full = +[module/battery] +type = internal/battery +format-charging = +format-discharging = +format-full = +format-full-prefix =  +format-full-prefix-padding = 2 +format-full-prefix-foreground = ${res/colors.background} +format-full-prefix-background = ${res/colors.alert} time-format = %H:%M +full-at = 98 +interval = 15 label-charging = %percentage%% -label-charging-padding = 0 +label-charging-padding = 2 +label-charging-background = ${res/colors.background} label-discharging = %percentage%% (%time%) -label-discharging-padding = 0 +label-discharging-padding = ${self.label-charging-padding} +label-discharging-background = ${res/colors.background} label-full = %percentage%% -label-full-foreground = ${res/colors.primary} -label-full-padding = 0 +label-full-padding = ${self.label-charging-padding} +label-full-background = ${res/colors.background} ramp-capacity-0=  ramp-capacity-1=  @@ -202,7 +146,9 @@ ramp-capacity-5=  ramp-capacity-6=  ramp-capacity-7=  ramp-capacity-8=  -ramp-capacity-foreground = ${res/colors.primary-dark} +ramp-capacity-padding = 2 +ramp-capacity-foreground = ${res/colors.background} +ramp-capacity-background = ${res/colors.primary} animation-charging-0 = ${self.ramp-capacity-0} animation-charging-1 = ${self.ramp-capacity-1} @@ -213,291 +159,113 @@ animation-charging-5 = ${self.ramp-capacity-5} animation-charging-6 = ${self.ramp-capacity-6} animation-charging-7 = ${self.ramp-capacity-7} animation-charging-8 = ${self.ramp-capacity-8} +animation-charging-padding = ${self.ramp-capacity-padding} animation-charging-foreground = ${self.ramp-capacity-foreground} +animation-charging-background = ${self.ramp-capacity-background} animation-charging-framerate = 500 -[module/battery-ramp-mini] -inherit = template/module/battery -format-charging = -format-charging-prefix =  -format-charging-prefix-foreground = ${res/colors.resource-good-dark} -format-discharging = -format-full = -format-full-prefix = " " -format-full-prefix-foreground = ${res/colors.resource-good} - -ramp-capacity-0=  -ramp-capacity-1=  -ramp-capacity-2=  -ramp-capacity-3=  -ramp-capacity-4=  -ramp-capacity-5=  -ramp-capacity-6=  -ramp-capacity-7=  -ramp-capacity-8=  - -[module/cpu-label] -inherit = template/module/cpu +[module/cpu] +type = internal/cpu format =