Update compton and i3

This commit is contained in:
Colin Powell
2019-12-05 21:12:14 -05:00
parent abdd38d2e2
commit 45c4932556
5 changed files with 60 additions and 90 deletions

View File

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

2
i3/.Xresources Normal file
View File

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

View File

@ -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'"
];
# 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 = [ ];
##### FADE ########################################
# 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;
fading = false;
#fade-delta = 5;
fade-in-step = 0.1;
fade-out-step = 0.08;
#no-fading-openclose = true;
no-fading-destroyed-argb = true;
# 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;
##### OTHER #######################################
# Window type settings
focus-exclude = [
"class_g = 'Cairo-clock'",
"class_g = 'slop'"
];
# WINDOW TYPE SETTINGS
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.15; focus = true; };
};
tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
};

View File

@ -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

View File

@ -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