Theme update

laptop
Elias Almqvist 1 year ago
parent c93c3a59ba
commit 44b174a36d
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 2
      eww/.config/eww/eww.scss
  2. 2
      leftwm/.config/leftwm/themes/gruv/theme.ron
  3. 90
      picom/.config/picom/picom.conf

@ -17,7 +17,7 @@ $white: #c5c8c6;
$bg-color: #1d1f21; $bg-color: #1d1f21;
$bg-alt-color: #131519; $bg-alt-color: #131519;
$fg-color: #c5c8c6; $fg-color: #c5c8c6;
$fg-alt-color: #5f5f5f; $fg-alt-color: #afafaf;
$fg-sel-color: $cyan; $fg-sel-color: $cyan;
$fg-desel-color: $fg-alt-color; $fg-desel-color: $fg-alt-color;
$border-color: #434549; $border-color: #434549;

@ -1,7 +1,7 @@
#![enable(implicit_some)] #![enable(implicit_some)]
( (
border_width: 1, border_width: 1,
margin: 8, margin: 16,
default_border_color: "#232529", default_border_color: "#232529",
focused_border_color: "#636569", focused_border_color: "#636569",
floating_border_color: "#434549", floating_border_color: "#434549",

@ -9,12 +9,12 @@
fading = true; fading = true;
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028 fade-in-step = 0.06
fade-in-step = 0.04; # fade-in-step = 0.04;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03 # fade-out-step = 0.03
fade-out-step = 0.04; fade-out-step = 0.06;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) # The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10 # fade-delta = 10
@ -36,21 +36,21 @@ fade-out-step = 0.04;
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1 # inactive-opacity = 1
inactive-opacity = 1.0; # inactive-opacity = 1.0;
#
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0 # # frame-opacity = 1.0
frame-opacity = 1.0; # frame-opacity = 1.0;
#
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. # # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true # # inactive-opacity-override = true
inactive-opacity-override = false; # inactive-opacity-override = false;
#
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) # # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
active-opacity = 1.0 # active-opacity = 1.0
#
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) # # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
inactive-dim = 1.0 # inactive-dim = 1.0
# Specify a list of conditions of windows that should always be considered focused. # Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = [] # focus-exclude = []
@ -64,7 +64,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Note we don't make any guarantee about possible conflicts with other # Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example: # example:
# opacity-rule = [ "80:class_g = 'URxvt'" ]; # opacity-rule = [ "80:class_g = 'Alacritty'" ];
# #
# opacity-rule = [ # opacity-rule = [
# "100:class_g ='Alacritty'", # "100:class_g ='Alacritty'",
@ -78,8 +78,8 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
blur-method = "dual_kawase"; blur-method = "dual_kawase";
blur-strength = 400; blur-strength = 800;
blur-size = 2; blur-size = 16;
# Blur background of semi-transparent / ARGB windows. # Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior. # Bad in performance, with driver-dependent behavior.
@ -114,7 +114,6 @@ blur-background-exclude = [
"window_type = 'desktop'", "window_type = 'desktop'",
#"window_type = 'alacritty'", #"window_type = 'alacritty'",
"window_type = 'firefox'", "window_type = 'firefox'",
"class_g = 'Polybar'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];
@ -132,8 +131,8 @@ blur-background-exclude = [
backend = "glx"; backend = "glx";
# Enable/disable VSync. # Enable/disable VSync.
# vsync = false vsync = false
vsync = true; # vsync = true;
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false # dbus = false
@ -142,11 +141,11 @@ vsync = true;
# child that has 'WM_STATE') and mark them as active. # child that has 'WM_STATE') and mark them as active.
# #
# mark-wmwin-focused = false # mark-wmwin-focused = false
mark-wmwin-focused = true; # mark-wmwin-focused = true;
#
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. # # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
# mark-ovredir-focused = false # # mark-ovredir-focused = false
mark-ovredir-focused = true; # mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them # Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately. # shaped windows. The accuracy is not very high, unfortunately.
@ -158,13 +157,31 @@ detect-rounded-corners = true;
# not passing '_NET_WM_OPACITY' of client windows to frame windows. # not passing '_NET_WM_OPACITY' of client windows to frame windows.
# #
# detect-client-opacity = false # detect-client-opacity = false
detect-client-opacity = true; # detect-client-opacity = true;
# opacity-rule = [ "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'",
# "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'",
# "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
# "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
# "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'" ];
# opacity-rule = [ "100:fullscreen", "95:!fullscreen" ];
opacity-rule = [
"100:class_g = 'Alacritty' && focused",
"90:class_g = 'Alacritty' && !focused"
];
opacity-exclude = [
"class_g = 'eww-bar-1'"
];
# unredir-if-possible = true
# Specify refresh rate of the screen. If not specified or 0, picom will # Specify refresh rate of the screen. If not specified or 0, picom will
# try detecting this with X RandR extension. # try detecting this with X RandR extension.
# #
# refresh-rate = 60 # refresh-rate = 60
refresh-rate = 0; refresh-rate = 60;
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
@ -328,16 +345,16 @@ log-level = "warn";
################################# #################################
# Corners # # Corners #
################################# #################################
corner-radius = 12.0; corner-radius = 0.0;
rounded-corners-exclude = [ rounded-corners-exclude = [
#"window_type = 'normal'", #"window_type = 'normal'",
# "class_g = 'awesome'", # "class_g = 'awesome'",
# "class_g = 'URxvt'", # "class_g = 'Alacritty'",
# "class_g = 'XTerm'", # "class_g = 'XTerm'",
# "class_g = 'kitty'", # "class_g = 'kitty'",
"class_g = 'Alacritty'", # "class_g = 'Alacritty'",
"class_g = 'eww-bar-1'", "class_g = 'eww-bar-1'",
"class_g = 'eww-bar-2'", "class_g = 'eww-bar-2'"
# "class_g = 'discord'", # "class_g = 'discord'",
# "class_g = 'Polybar'", # "class_g = 'Polybar'",
# "class_g = 'code-oss'", # "class_g = 'code-oss'",
@ -346,9 +363,6 @@ rounded-corners-exclude = [
# "class_g = 'Thunderbird'" # "class_g = 'Thunderbird'"
]; ];
round-borders = 0; round-borders = 0;
round-borders-exclude = [
#"class_g = 'TelegramDesktop'",
];
wintypes: wintypes:

Loading…
Cancel
Save