add flashfocus config, add minimal config for picom, tweak polybar config colors and others
This commit is contained in:
@@ -1,21 +1,30 @@
|
||||
[colors]
|
||||
background = #282A2E
|
||||
# background = #282A2E
|
||||
background = #282828
|
||||
background-alt = #373B41
|
||||
foreground = #C5C8C6
|
||||
primary = #F0C674
|
||||
# primary = #F0C674
|
||||
secondary = #8ABEB7
|
||||
alert = #A54242
|
||||
disabled = #707880
|
||||
# disabled = #707880
|
||||
|
||||
# Gruvbox
|
||||
disabled = #f9f5d7
|
||||
primary = #f9f5d7
|
||||
focused = #d65d0e
|
||||
urgent = cc241d
|
||||
|
||||
[bar/barra2]
|
||||
# monitor = ${env:MONITOR:}
|
||||
inherit = bar/barra1
|
||||
|
||||
|
||||
[bar/barra1]
|
||||
monitor = ${env:MONITOR:}
|
||||
width = 100%
|
||||
height = 24pt
|
||||
radius = 6
|
||||
|
||||
[bar/barra2]
|
||||
# monitor = ${env:MONITOR:}
|
||||
inherit = bar/barra1
|
||||
module-margin-right = 2
|
||||
|
||||
dpi = 110
|
||||
|
||||
@@ -32,8 +41,8 @@ padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
separator =
|
||||
separator-foreground = ${colors.disabled}
|
||||
separator =
|
||||
separator-foreground = ${colors.focused}
|
||||
|
||||
font-0 = Iosevka Nerd Font:size=14:style=bold;2
|
||||
|
||||
@@ -56,8 +65,10 @@ enable-ipc = true
|
||||
[module/systray]
|
||||
type = internal/tray
|
||||
|
||||
format-margin = 8pt
|
||||
tray-spacing = 16pt
|
||||
format-margin = 4px
|
||||
tray-spacing = 16px
|
||||
tray-size = 46%
|
||||
format-background = ${color.focused}
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
@@ -86,12 +97,12 @@ label-mode-foreground = ${colors.primary}
|
||||
|
||||
label-focused = %name%
|
||||
label-focused-font = 5
|
||||
label-focused-foreground = ${colors.primary}
|
||||
label-focused-foreground = ${colors.focused}
|
||||
label-focused-padding = 1
|
||||
|
||||
label-unfocused = %name%
|
||||
label-unfocused-font = 5
|
||||
label-unfocused-foreground = ${colors.white}
|
||||
label-unfocused-foreground = ${colors.primary}
|
||||
label-unfocused-padding = 1
|
||||
|
||||
label-visible = %name%
|
||||
@@ -99,7 +110,7 @@ label-visible-padding = 1
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-font = 10
|
||||
label-urgent-foreground = ${colors.red}
|
||||
label-urgent-foreground = ${colors.urgent}
|
||||
label-urgent-padding = 1
|
||||
|
||||
#[module/xworkspaces]
|
||||
@@ -147,14 +158,14 @@ ramp-headphones-0 =
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage_used:2%%
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage:2%%
|
||||
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Terminate already running bar instances
|
||||
# If all your bars have ipc enabled, you can use
|
||||
polybar-msg cmd quit
|
||||
# Otherwise you can use the nuclear option:
|
||||
# killall -q polybar
|
||||
|
||||
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||
MONITOR=$m polybar --reload barra1 &
|
||||
MONITOR=$m polybar --reload barra2 &
|
||||
|
||||
Reference in New Issue
Block a user