Przeglądaj źródła

Update compton and i3

Colin Powell 5 lat temu
rodzic
commit
45c4932556

+ 1 - 1
fish/.config/fish/functions/ffdown.fish

@@ -1,5 +1,5 @@
 function ffdown
 	pushd ~/src/ff/fifteen5
-	docker-compose down -d
+	docker-compose down
 	popd
 end

+ 2 - 0
i3/.Xresources

@@ -0,0 +1,2 @@
+setxkbmap -model pc105 -layout us,ru -option grp:ctrls_toggle
+setxkbmap -option caps:escape -option compose:ralt &

+ 46 - 80
i3/.config/compton/compton.conf

@@ -1,94 +1,60 @@
-# Shadow
+##### compton.conf / RESLOVED #####################
+
+##### SHADOW ######################################
+
 shadow = true;
-no-dnd-shadow = true;
-no-dock-shadow = true;
-clear-shadow = true;
-shadow-radius = 5;
-shadow-offset-x = -5;
-shadow-offset-y = -5;
-shadow-opacity = 0.7;
+
+# Soft
+shadow-radius = 32;
+shadow-offset-x = -32;
+shadow-offset-y = -32;
+shadow-opacity = 0.2;
+
+# Sharp
+#shadow-radius = 0;
+#hadow-offset-x = 16;
+#shadow-offset-y = 16;
+#shadow-opacity = 0.2;
+
 # shadow-red = 0.0;
 # shadow-green = 0.0;
 # shadow-blue = 0.0;
 shadow-exclude = [
-	"name = 'Notification'",
-	"class_g = 'Conky'",
-	"class_g ?= 'Notify-osd'",
-	"class_g = 'Cairo-clock'",
-	"_GTK_FRAME_EXTENTS@:c"
+               "class_g = 'Firefox' && argb",
+               "class_g = 'slop'",
+               "class_g = 'Rofi'",
+               "class_g = 'i3-frame'",
+               "class_g = 'xtext'"
 ];
-# shadow-exclude = "n:e:Notification";
-# shadow-exclude-reg = "x10+0+0";
-# xinerama-shadow-crop = true;
 
-# Opacity
-menu-opacity = 0.85;
-inactive-opacity = 0.95;
-active-opacity = 1;
-frame-opacity = 0.1;
-inactive-opacity-override = false;
-alpha-step = 0.06;
-inactive-dim = 0.1;
-inactive-dim-fixed = true;
-#blur-background = true;
-#blur-background-frame = true;
-#blur-kern = "3x3box";
-#blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
-#blur-background-fixed = true;
-#blur-background-exclude = [
-#	"window_type = 'dock'",
-#	"window_type = 'desktop'",
-#	"_GTK_FRAME_EXTENTS@:c"
-#];
+corner-radius = 7
 
-#opacity-rule = [
-#    "90:class_g = 'kitty'",
-#    "95:class_g = 'Firefox'"
-#];
+blur-background = false;
+blur-background-frame = false;
+blur-kern = "3x3box";
+opacity-rule = [
+    "0:class_g = 'blank'",
+    "0:class_g = 'slop'"
+];
+
+##### FADE ########################################
 
-# Fading
-fading = true;
-fade-delta = 5;
-fade-in-step = 0.07;
-fade-out-step = 0.07;
-# no-fading-openclose = true;
-# no-fading-destroyed-argb = true;
-fade-exclude = [ ];
+fading = false;
+#fade-delta = 5;
+fade-in-step = 0.1;
+fade-out-step = 0.08;
+#no-fading-openclose = true;
+no-fading-destroyed-argb = true;
 
-# Other
-backend = "glx";
-mark-wmwin-focused = true;
-mark-ovredir-focused = true;
-# use-ewmh-active-win = true;
-detect-rounded-corners = true;
-detect-client-opacity = true;
-refresh-rate = 0;
-vsync = "none";
-dbe = false;
-paint-on-overlay = true;
-# sw-opti = true;
-# unredir-if-possible = true;
-# unredir-if-possible-delay = 5000;
-# unredir-if-possible-exclude = [ ];
-focus-exclude = [ "class_g = 'Cairo-clock'" ];
-detect-transient = true;
-detect-client-leader = true;
-invert-color-include = [ ];
-# resize-damage = 1;
+##### OTHER #######################################
 
-# GLX backend
-# glx-no-stencil = true;
-glx-copy-from-front = false;
-# glx-use-copysubbuffermesa = true;
-# glx-no-rebind-pixmap = true;
-glx-swap-method = "undefined";
-# glx-use-gpushader4 = true;
-# xrender-sync = true;
-# xrender-sync-fence = true;
+focus-exclude = [
+    "class_g = 'Cairo-clock'",
+    "class_g = 'slop'"
+];
 
-# Window type settings
+# WINDOW TYPE SETTINGS
 wintypes:
 {
-  tooltip = { fade = true; shadow = true; opacity = 0.15; focus = true; };
-};
-
+  tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
+};

+ 6 - 5
i3/.config/i3/config

@@ -34,8 +34,8 @@ for_window [class="st"] border pixel $thick
 #for_window [class="Orca"] floating enable
 
 # GAP VARIABLES
-set $inner 10
-set $outer 14
+set $inner 12
+set $outer 12
 
 # SET GAPS
 gaps inner $inner
@@ -286,8 +286,10 @@ bindsym $mod+o       exec rofi-now
 bindsym $mod+Ctrl+o  exec rofi-vol
 bindsym $mod+Shift+o exec rofi-bat
 
+bindsym $mod+Ctrl+b  exec surf https://www.astrobin.com/iotd/archive/
 bindsym $mod+m       exec surf https://play.unbl.ink/iris
 bindsym $mod+Shift+p exec surf https://15five-dev.atlassian.net/secure/Dashboard.jspa
+
 ##### LAUNCH ###################################### 
 
 # STARTUP
@@ -295,14 +297,13 @@ exec --no-startup-id emacs --daemon
 exec --no-startup-id unclutter -grab
 
 # RELOAD
-exec_always --no-startup-id ~/code/compton/build/src/compton
-#exec_always --no-startup-id compton
+exec_always --no-startup-id compton
 exec_always --no-startup-id dunst
 exec_always xrdb --merge ~/.Xresoureces 
 #exec_always xrandr --auto --output eDP-1 --below HDMI-1 --auto
 
 # Setup Russian layout siwtching with Alt+Shift
-exec --no-startup-id xrdb ~/.Xresources
+#exec --no-startup-id xrdb ~/.Xresources
 
 ## Volume control
 # Path to volume control, without trailing slash

+ 5 - 4
qutebrowser/.config/qutebrowser/config.py

@@ -1,13 +1,14 @@
 c.url.searchengines = {
     "DEFAULT": "https://search.unbl.ink/?q={}",
-    "w": "https://www.wikiwand.com/en/{}?fullSearch=false",
     "a": "https://www.amazon.com/s?k={}",
-    "j": "https://15five-dev.atlassian.net/plugins/servlet/mobile#issue/ENG-{}",
-    "g": "https://www.google.com/search?q={}",
     "b": "https://www.beeradvocate.com/search/?q={}&qt=beer",
-    "m": "https://www.openstreetmap.com/search?query={}",
+    "c": "https://camelcamelcamel.com/{}",
+    "g": "https://www.google.com/search?q={}",
+    "j": "https://15five-dev.atlassian.net/plugins/servlet/mobile#issue/ENG-{}",
     "k": "https://b-ok.cc/s/?q={}",
+    "m": "https://www.openstreetmap.com/search?query={}",
     "p": "https://thepirateboat.info/s/?q={}",
+    "w": "https://www.wikiwand.com/en/{}?fullSearch=false",
 }
 
 c.messages.timeout = 5000