Update compton and i3
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
function ffdown
|
function ffdown
|
||||||
pushd ~/src/ff/fifteen5
|
pushd ~/src/ff/fifteen5
|
||||||
docker-compose down -d
|
docker-compose down
|
||||||
popd
|
popd
|
||||||
end
|
end
|
||||||
|
|||||||
2
i3/.Xresources
Normal file
2
i3/.Xresources
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
setxkbmap -model pc105 -layout us,ru -option grp:ctrls_toggle
|
||||||
|
setxkbmap -option caps:escape -option compose:ralt &
|
||||||
@ -1,94 +1,60 @@
|
|||||||
# Shadow
|
##### compton.conf / RESLOVED #####################
|
||||||
|
|
||||||
|
##### SHADOW ######################################
|
||||||
|
|
||||||
shadow = true;
|
shadow = true;
|
||||||
no-dnd-shadow = true;
|
|
||||||
no-dock-shadow = true;
|
# Soft
|
||||||
clear-shadow = true;
|
shadow-radius = 32;
|
||||||
shadow-radius = 5;
|
shadow-offset-x = -32;
|
||||||
shadow-offset-x = -5;
|
shadow-offset-y = -32;
|
||||||
shadow-offset-y = -5;
|
shadow-opacity = 0.2;
|
||||||
shadow-opacity = 0.7;
|
|
||||||
|
# Sharp
|
||||||
|
#shadow-radius = 0;
|
||||||
|
#hadow-offset-x = 16;
|
||||||
|
#shadow-offset-y = 16;
|
||||||
|
#shadow-opacity = 0.2;
|
||||||
|
|
||||||
# shadow-red = 0.0;
|
# shadow-red = 0.0;
|
||||||
# shadow-green = 0.0;
|
# shadow-green = 0.0;
|
||||||
# shadow-blue = 0.0;
|
# shadow-blue = 0.0;
|
||||||
shadow-exclude = [
|
shadow-exclude = [
|
||||||
"name = 'Notification'",
|
"class_g = 'Firefox' && argb",
|
||||||
"class_g = 'Conky'",
|
"class_g = 'slop'",
|
||||||
"class_g ?= 'Notify-osd'",
|
"class_g = 'Rofi'",
|
||||||
"class_g = 'Cairo-clock'",
|
"class_g = 'i3-frame'",
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
"class_g = 'xtext'"
|
||||||
];
|
];
|
||||||
# shadow-exclude = "n:e:Notification";
|
|
||||||
# shadow-exclude-reg = "x10+0+0";
|
|
||||||
# xinerama-shadow-crop = true;
|
|
||||||
|
|
||||||
# Opacity
|
corner-radius = 7
|
||||||
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"
|
|
||||||
#];
|
|
||||||
|
|
||||||
#opacity-rule = [
|
blur-background = false;
|
||||||
# "90:class_g = 'kitty'",
|
blur-background-frame = false;
|
||||||
# "95:class_g = 'Firefox'"
|
blur-kern = "3x3box";
|
||||||
#];
|
opacity-rule = [
|
||||||
|
"0:class_g = 'blank'",
|
||||||
|
"0:class_g = 'slop'"
|
||||||
|
];
|
||||||
|
|
||||||
# Fading
|
##### FADE ########################################
|
||||||
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 = [ ];
|
|
||||||
|
|
||||||
# Other
|
fading = false;
|
||||||
backend = "glx";
|
#fade-delta = 5;
|
||||||
mark-wmwin-focused = true;
|
fade-in-step = 0.1;
|
||||||
mark-ovredir-focused = true;
|
fade-out-step = 0.08;
|
||||||
# use-ewmh-active-win = true;
|
#no-fading-openclose = true;
|
||||||
detect-rounded-corners = true;
|
no-fading-destroyed-argb = 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;
|
|
||||||
|
|
||||||
# GLX backend
|
##### OTHER #######################################
|
||||||
# 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;
|
|
||||||
|
|
||||||
# Window type settings
|
focus-exclude = [
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
"class_g = 'slop'"
|
||||||
|
];
|
||||||
|
|
||||||
|
# WINDOW TYPE SETTINGS
|
||||||
wintypes:
|
wintypes:
|
||||||
{
|
{
|
||||||
tooltip = { fade = true; shadow = true; opacity = 0.15; focus = true; };
|
tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -34,8 +34,8 @@ for_window [class="st"] border pixel $thick
|
|||||||
#for_window [class="Orca"] floating enable
|
#for_window [class="Orca"] floating enable
|
||||||
|
|
||||||
# GAP VARIABLES
|
# GAP VARIABLES
|
||||||
set $inner 10
|
set $inner 12
|
||||||
set $outer 14
|
set $outer 12
|
||||||
|
|
||||||
# SET GAPS
|
# SET GAPS
|
||||||
gaps inner $inner
|
gaps inner $inner
|
||||||
@ -286,8 +286,10 @@ bindsym $mod+o exec rofi-now
|
|||||||
bindsym $mod+Ctrl+o exec rofi-vol
|
bindsym $mod+Ctrl+o exec rofi-vol
|
||||||
bindsym $mod+Shift+o exec rofi-bat
|
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+m exec surf https://play.unbl.ink/iris
|
||||||
bindsym $mod+Shift+p exec surf https://15five-dev.atlassian.net/secure/Dashboard.jspa
|
bindsym $mod+Shift+p exec surf https://15five-dev.atlassian.net/secure/Dashboard.jspa
|
||||||
|
|
||||||
##### LAUNCH ######################################
|
##### LAUNCH ######################################
|
||||||
|
|
||||||
# STARTUP
|
# STARTUP
|
||||||
@ -295,14 +297,13 @@ exec --no-startup-id emacs --daemon
|
|||||||
exec --no-startup-id unclutter -grab
|
exec --no-startup-id unclutter -grab
|
||||||
|
|
||||||
# RELOAD
|
# 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 --no-startup-id dunst
|
||||||
exec_always xrdb --merge ~/.Xresoureces
|
exec_always xrdb --merge ~/.Xresoureces
|
||||||
#exec_always xrandr --auto --output eDP-1 --below HDMI-1 --auto
|
#exec_always xrandr --auto --output eDP-1 --below HDMI-1 --auto
|
||||||
|
|
||||||
# Setup Russian layout siwtching with Alt+Shift
|
# Setup Russian layout siwtching with Alt+Shift
|
||||||
exec --no-startup-id xrdb ~/.Xresources
|
#exec --no-startup-id xrdb ~/.Xresources
|
||||||
|
|
||||||
## Volume control
|
## Volume control
|
||||||
# Path to volume control, without trailing slash
|
# Path to volume control, without trailing slash
|
||||||
|
|||||||
@ -1,13 +1,14 @@
|
|||||||
c.url.searchengines = {
|
c.url.searchengines = {
|
||||||
"DEFAULT": "https://search.unbl.ink/?q={}",
|
"DEFAULT": "https://search.unbl.ink/?q={}",
|
||||||
"w": "https://www.wikiwand.com/en/{}?fullSearch=false",
|
|
||||||
"a": "https://www.amazon.com/s?k={}",
|
"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",
|
"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={}",
|
"k": "https://b-ok.cc/s/?q={}",
|
||||||
|
"m": "https://www.openstreetmap.com/search?query={}",
|
||||||
"p": "https://thepirateboat.info/s/?q={}",
|
"p": "https://thepirateboat.info/s/?q={}",
|
||||||
|
"w": "https://www.wikiwand.com/en/{}?fullSearch=false",
|
||||||
}
|
}
|
||||||
|
|
||||||
c.messages.timeout = 5000
|
c.messages.timeout = 5000
|
||||||
|
|||||||
Reference in New Issue
Block a user