From e086203277def01e52d2e49135e5f79f77843c07 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Tue, 1 Dec 2020 11:00:54 +0100 Subject: [PATCH] Updoots --- files/.config/i3/config | 7 ++++--- files/.config/picom.conf | 11 ++++++----- files/.config/polybar/config | 34 ++++++++++++++++------------------ 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/files/.config/i3/config b/files/.config/i3/config index eb25218..df94380 100644 --- a/files/.config/i3/config +++ b/files/.config/i3/config @@ -13,6 +13,8 @@ floating_modifier $mod # Font for Window Titles font pango:Product Sans 10 +set $accent '#98c379' + # ============================== Keybinds (except workspaces) #Terminal bindsym $mod+Return exec --no-startup-id alacritty @@ -50,10 +52,9 @@ bindsym $mod+p workspace prev # dmenu set $fg '#ffffff' set $bg '#000000' -set $acc '#98c379' set $font 'Product Sans' -bindsym $mod+d exec "dmenu_run -fn $font -nb $bg -sb $acc -nf $fg -sf $bg" -bindsym $mod+space exec "dmenu_run -fn $font -nb $bg -sb $acc -nf $fg -sf $bg" +bindsym $mod+d exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg" +bindsym $mod+space exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg" # Screenhot bindsym $mod+Shift+p exec "flameshot gui" diff --git a/files/.config/picom.conf b/files/.config/picom.conf index b7458c6..ac6a04b 100644 --- a/files/.config/picom.conf +++ b/files/.config/picom.conf @@ -2,14 +2,15 @@ opacity-rule = [ "95:class_g *?= 'Rofi'", "95:class_g *?= 'XTerm'", + "95:class_g *?= 'thunar'", "95:class_g *?= 'jetbrains-idea'", ]; -#backend = "glx"; -#blur: { -# method: "dual_kawase"; -# strength = 4; -#} +backend = "glx"; +blur: { + method: "dual_kawase"; + strength = 4; +} # Fading #fading = true; diff --git a/files/.config/polybar/config b/files/.config/polybar/config index d0f8457..d27b7ac 100644 --- a/files/.config/polybar/config +++ b/files/.config/polybar/config @@ -6,7 +6,7 @@ foreground = #ffffff urgent = #e06c75 yellow = #d19a66 accent = #98c379 -accent-alt = #98c379 +i3 = ${colors.accent} ############################## BARS [bar/laptop] @@ -23,9 +23,6 @@ width = 100% module-margin-right = 2 module-margin-left = 2 -padding-left = 2 -padding-right = 2 - separator = locale = @@ -74,7 +71,8 @@ ws-icon-8 = 9;九 ws-icon-9 = 10;十 label-focused = "%icon%" -label-focused-foreground = ${colors.accent-alt} +label-focused-foreground = ${colors.background} +label-focused-background = ${colors.i3} label-focused-padding = 2 label-unfocused = "%icon%" @@ -103,7 +101,7 @@ type = internal/date date = %{T2}%A%{T-}, %B %d format-prefix = "󰃭 " -format-prefix-foreground = ${colors.accent-alt} +format-prefix-foreground = ${colors.accent} format-underline = ${colors.accent} [module/time] @@ -111,7 +109,7 @@ type = internal/date date = %{T2}%H:%M%{T-} format-prefix = "󰥔 " -format-prefix-foreground = ${colors.accent-alt} +format-prefix-foreground = ${colors.accent} format-underline = ${colors.accent} [module/backlight] @@ -121,7 +119,7 @@ card = amdgpu_bl0 label = %percentage%% format-prefix = "󰃟 " -format-prefix-foreground = ${colors.accent-alt} +format-prefix-foreground = ${colors.accent} format-underline = ${colors.accent} [module/battery] @@ -131,7 +129,7 @@ apdapter = ADP1 format-charging = label-charging = %percentage%% -animation-charging-foreground = ${colors.accent-alt} +animation-charging-foreground = ${colors.accent} format-charging-underline = ${colors.yellow} format-discharging = @@ -142,7 +140,7 @@ format-full = label-full = %percentage%% format-full-underline = ${colors.accent} -ramp-capacity-foreground = ${colors.accent-alt} +ramp-capacity-foreground = ${colors.accent} ramp-capacity-0 = 󰁺 ramp-capacity-1 = 󰁻 ramp-capacity-2 = 󰁼 @@ -172,7 +170,7 @@ format-volume = label-volume = %percentage%% format-volume-prefix = "󰕾 " -format-volume-prefix-foreground = ${colors.accent-alt} +format-volume-prefix-foreground = ${colors.accent} format-volume-underline = ${colors.accent} label-muted = Muted @@ -196,12 +194,12 @@ unknown-as-up = true label-connected = %essid% format-connected-prefix = "󰤨 " -format-connected-prefix-foreground = ${colors.accent-alt} +format-connected-prefix-foreground = ${colors.accent} format-connected-underline = ${colors.accent} label-disconnected = "No Wifi" format-disconnected-prefix = "󰤮 " -format-disconnected-prefix-foreground = ${colors.accent-alt} +format-disconnected-prefix-foreground = ${colors.accent} format-disconnected-underline = ${colors.urgent} [module/update_yay] @@ -212,7 +210,7 @@ interval = 600 click-left = alacritty -e yay & format-prefix = "󰏗 " -format-prefix-foreground = ${colors.accent-alt} +format-prefix-foreground = ${colors.accent} format-underline = ${colors.accent} [module/spotify] @@ -221,7 +219,7 @@ exec = python ~/.config/polybar/scripts/spotify_status.py -f '{artist}: {song}' interval = 1 format-prefix = "󰓇 " -format-prefix-foreground = ${colors.accent-alt} +format-prefix-foreground = ${colors.accent} format-underline = ${colors.accent} [module/cpu] @@ -230,7 +228,7 @@ exec = ~/.config/polybar/scripts/cpu.sh click-left = ~/.config/polybar/scripts/cpu.sh --popup  format-prefix = "󰻠 " -format-prefix-foreground = ${colors.accent-alt} +format-prefix-foreground = ${colors.accent} format-underline = ${colors.accent} [module/memory] @@ -239,7 +237,7 @@ exec = ~/.config/polybar/scripts/memory.sh click-left = ~/.config/polybar/scripts/memory.sh --popup format-prefix = "󰍛 " -format-prefix-foreground = ${colors.accent-alt} +format-prefix-foreground = ${colors.accent} format-underline = ${colors.accent} [module/temp] @@ -247,5 +245,5 @@ type = custom/script exec = ~/.config/polybar/scripts/temp.sh format-prefix = "󰔄 " -format-prefix-foreground = ${colors.accent-alt} +format-prefix-foreground = ${colors.accent} format-underline = ${colors.accent}