lot of tweaking

This commit is contained in:
Harri Lahtinen 2019-07-16 08:15:35 +03:00
parent 7bb27f484a
commit c687e7285e
5 changed files with 33 additions and 18 deletions

View File

@ -21,13 +21,13 @@ glx-no-stencil = true;
# but a 20% increase when only 1/4 is.
# My tests on nouveau show terrible slowdown.
# Useful with --glx-swap-method, as well.
#glx-copy-from-front = false;
glx-copy-from-front = false;
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
# May break VSync and is not available on some drivers.
# Overrides --glx-copy-from-front.
glx-use-copysubbuffermesa = true;
# glx-use-copysubbuffermesa = true;
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
@ -62,11 +62,11 @@ no-dock-shadow = true;
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
clear-shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 7;
shadow-radius = 10;
# The left offset for shadows. (default -15)
shadow-offset-x = -7;
shadow-offset-x = -10;
# The top offset for shadows. (default -15)
shadow-offset-y = -7;
shadow-offset-y = -10;
# The translucency for shadows. (default .75)
shadow-opacity = 0.5;
@ -84,7 +84,11 @@ shadow-exclude = [
"name *= 'Chrome'",
"class_g ?= 'Notify-osd'",
"name *= 'Firefox'",
"_GTK_FRAME_EXTENTS@:c"
"_GTK_FRAME_EXTENTS@:c",
#"class_g = 'i3-frame'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
#"!I3_FLOATING_WINDOW@:c"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;
@ -111,10 +115,6 @@ opacity-rule = [
"60:class_g = 'St' && !focused",
"70:class_g = 'Code'",
"70:class_g = 'code-oss'"
#"99:class_g = 'Google-chrome' && focused",
#"60:class_g = 'Google-chrome' && !focused",
#"99:class_g = 'Firefox' && focused",
#"70:class_g = 'Firefox' && !focused"
];
# Dim inactive windows. (0.0 - 1.0)
@ -202,12 +202,12 @@ paint-on-overlay = true;
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
# unless you wish to specify a lower refresh rate than the actual value.
sw-opti = false;
sw-opti = true;
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
# Known to cause flickering when redirecting/unredirecting windows.
# paint-on-overlay may make the flickering less obvious.
unredir-if-possible = true;
unredir-if-possible = false;
# Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ];

View File

@ -52,6 +52,10 @@ client.background $black
###---Starting External Scripts---###
#Load .Xresources
exec --no-stsrtup-id xrdb -merge .Xresources
#Restore wal colors
#exec --no-startup-id wal -R &
#Start mopidy
#exec --no-startup-id mopidy &
#Twmn

View File

@ -11,6 +11,7 @@ set autoindent " indent a new line the same amount as the line just
set number " add line numbers
set wildmode=longest,list " get bash-like tab completions
set autoread " refresh file
set termguicolors
syntax on
" set the runtime path to include Vundle and initialize
@ -22,12 +23,7 @@ call vundle#end()
filetype plugin indent on " allows auto-indenting depending on file type
call plug#begin('~/.local/share/nvim/site/autoload')
Plug 'junegunn/vim-easy-align'
Plug 'https://github.com/junegunn/vim-github-dashboard.git'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' }
Plug 'fatih/vim-go', { 'tag': '*' }
Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' }
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'dylanaraps/wal'
Plug 'Xuyuanp/nerdtree-git-plugin'
@ -41,6 +37,10 @@ Plug 'edkolev/tmuxline.vim'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'chrisbra/colorizer'
Plug 'chase/focuspoint-vim'
Plug 'liuchengxu/space-vim-theme'
Plug 'kadekillary/Turtles'
Plug 'arcticicestudio/nord-vim'
call plug#end()
map <C-n> :NERDTreeToggle<CR>

View File

@ -27,7 +27,7 @@ bind-key a send-prefix # for nested tmux sessions
set-option -g history-limit 10000
# colors
set -g default-terminal "screen-256color" #"xterm-256color" # "screen-256color"
set -g default-terminal "st-256color" #"xterm-256color" # "screen-256color"
# basic settings
set-window-option -g xterm-keys on # for vim

11
.zshrc
View File

@ -65,6 +65,17 @@ PATH=/usr/local/bin:/home/hate/.local/bin:/home/hate/.config/Scripts:/home/hate/
# Wpg restore on terminals
(cat ~/.config/wpg/sequences &)
# Import colorscheme from 'wal' asynchronously
# & # Run the process in the background.
# ( ) # Hide shell job control messages.
#(cat ~/.cache/wal/sequences &)
# Alternative (blocks terminal for 0-3ms)
#cat ~/.cache/wal/sequences
# To add support for TTYs this line can be optionally added.
#source ~/.cache/wal/colors-tty.sh
#FASD
eval "$(fasd --init auto)"