فهرست منبع

Remove emacs transparency

Colin Powell 5 سال پیش
والد
کامیت
c8388537fc
2فایلهای تغییر یافته به همراه21 افزوده شده و 11 حذف شده
  1. 2 2
      emacs/.config/doom/+ui.el
  2. 19 9
      i3/.config/compton/compton.conf

+ 2 - 2
emacs/.config/doom/+ui.el

@@ -9,8 +9,8 @@
 (set-frame-parameter nil 'internal-border-width 15)
 
 ;; setup transparency ... this might get annoying
-(set-frame-parameter (selected-frame) 'alpha '(100 . 90))
-(add-to-list 'default-frame-alist '(alpha . (100 . 90)))
+(set-frame-parameter (selected-frame) 'alpha '(100 . 100))
+(add-to-list 'default-frame-alist '(alpha . (100 . 100)))
 
 ;; Dash highlighting
 (after! dash (dash-enable-font-lock))

+ 19 - 9
i3/.config/compton/compton.conf

@@ -1,4 +1,16 @@
 ##### compton.conf / RESLOVED #####################
+backend = "glx";
+glx-no-stencil = true;
+glx-copy-from-front = false;
+glx-swap-method = "undefined";
+
+##### OPACITY ######################################
+menu-opacity = 1;
+inactive-opacity = 1;
+active-opacity = 1;
+frame-opacity = 1;
+inactive-opacity-override = false;
+alpha-step = 0.06;
 
 ##### SHADOW ######################################
 
@@ -21,16 +33,14 @@ shadow-opacity = 0.2;
 # shadow-blue = 0.0;
 shadow-exclude = [
                "class_g = 'Firefox' && argb",
-               "class_g = 'slop'",
-               "class_g = 'Rofi'",
                "class_g = 'i3-frame'",
                "class_g = 'xtext'"
 ];
 
 corner-radius = 7
 
-blur-background = false;
-blur-background-frame = false;
+blur-background = true;
+blur-background-frame = true;
 blur-kern = "3x3box";
 opacity-rule = [
     "0:class_g = 'blank'",
@@ -39,10 +49,10 @@ opacity-rule = [
 
 ##### FADE ########################################
 
-fading = false;
+fading = true;
 #fade-delta = 5;
-fade-in-step = 0.1;
-fade-out-step = 0.08;
+fade-in-step = 0.2;
+fade-out-step = 0.1;
 #no-fading-openclose = true;
 no-fading-destroyed-argb = true;
 
@@ -56,5 +66,5 @@ focus-exclude = [
 # WINDOW TYPE SETTINGS
 wintypes:
 {
-  tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
-};
+  tooltip = { fade = true; shadow = false; opacity = 0.90; focus = true; };
+};