This commit is contained in:
Harri Lahtinen 2019-11-28 21:45:13 +02:00
parent 9d5b6878ed
commit be0b5cc467
8 changed files with 37 additions and 31 deletions

View File

@ -126,9 +126,7 @@ blur-strength = 15;
opacity-rule = [ opacity-rule = [
"90:class_g = 'St' && focused", "90:class_g = 'St' && focused",
"60:class_g = 'St' && !focused", "60:class_g = 'St' && !focused",
# "70:name *?= 'rofi'" "99:class_g = 'mpv'",
# "80:class_g = 'St' && !_NET_WM_STATE@:32a",
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'", "0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'",
@ -239,11 +237,13 @@ unredir-if-possible = true;
# get rid of the screen tearing in full screen Chrome # get rid of the screen tearing in full screen Chrome
unredir-if-possible-exclude = [ unredir-if-possible-exclude = [
"name *= 'Chrome'", "name *= 'Chrome'",
"name *= 'Chromium'" "name *= 'Chromium'",
"name *= 'mpv'"
]; ];
# Specify a list of conditions of windows that should always be considered focused. # Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ]; focus-exclude = [
];
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time. # Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
detect-transient = true; detect-transient = true;

View File

@ -51,11 +51,11 @@ bindsym $mod+Shift+c sticky toggle
######### COLORS ########## ######### COLORS ##########
# BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER # BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER
client.focused #997A7E #7288B0 #0F0F15 #997A7E #657194 client.focused #997A7E #3B5A87 #0F0F15 #997A7E #7288B0
client.unfocused #657194 #997A7E #c5cee0 #657194 #0F0F15 client.unfocused #7288B0 #997A7E #c5cee0 #7288B0 #0F0F15
client.focused_inactive #0F0F15 #89909c #c5cee0 #657194 #0F0F15 client.focused_inactive #0F0F15 #232332 #c5cee0 #7288B0 #0F0F15
client.urgent #3B5A87 #3B5A87 #0F0F15 #3B5A87 #3B5A87 client.urgent #657194 #657194 #0F0F15 #657194 #657194
client.background #89909c client.background #232332
###---Starting External Scripts---### ###---Starting External Scripts---###
@ -197,7 +197,7 @@ bindsym $mod+s gaps inner current plus 5
bindsym $mod+Shift+s gaps inner current minus 5 bindsym $mod+Shift+s gaps inner current minus 5
#bindsym $mod+d exec rofi -config ~/.config/rofi/config -show drun #bindsym $mod+d exec rofi -config ~/.config/rofi/config -show drun
bindsym $mod+d exec dmenu_run -fn 'Ubuntu Mono derivative Powerline-18' -h '35' -nb '#7196C8' -sf '#0F0F15' -sb '#3B5A87' -nf '#c5cee0' bindsym $mod+d exec dmenu_run -fn 'Ubuntu Mono derivative Powerline-18' -h '35' -nb '#9B93A4' -sf '#0F0F15' -sb '#738bd0' -nf '#eef9ff'
bindsym Mod1+d exec ~/.config/Scripts/rofi-bangs.sh bindsym Mod1+d exec ~/.config/Scripts/rofi-bangs.sh
bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0 bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0

View File

@ -10,7 +10,7 @@
" Colorscheme " Colorscheme
"colorscheme wal colorscheme wal
augroup specify_filetype augroup specify_filetype
autocmd! autocmd!

View File

@ -16,6 +16,9 @@ if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
endif endif
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
" Intellisense engine for neovim
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Git wrapper " Git wrapper
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'

View File

@ -1,7 +1,7 @@
" This script contains general neovim settings " This script contains general neovim settings
source $HOME/.config/nvim/config/main.vim
" This script contains a list of Vim-Plugged plugins
source $HOME/.config/nvim/config/plugins.vim source $HOME/.config/nvim/config/plugins.vim
" This script contains a list of Vim-Plugged plugins
source $HOME/.config/nvim/config/main.vim
" This script contains plugin specific settings " This script contains plugin specific settings
source $HOME/.config/nvim/config/plugin-settings.vim source $HOME/.config/nvim/config/plugin-settings.vim
" This script contains mappings " This script contains mappings

View File

@ -6,20 +6,20 @@
[colors] [colors]
background = #00000000 background = #00000000
background-alt = #997A7E background-alt = #997A7E
foreground = #657194 foreground = #7288B0
foreground-alt = #9B93A4 foreground-alt = #7196C8
highlight = #c5cee0 highlight = #c5cee0
error = #3B5A87 error = #738bd0
red = #3B5A87 red = #657194
yellow = #7288B0 yellow = #3B5A87
green = #7196C8 green = #9B93A4
darkblue = #657194 darkblue = #7288B0
alert = #FF0000 alert = #FF0000
lightblue = #c5cee0 lightblue = #eef9ff
orange = #9B93A4 orange = #7196C8
blue = #997A7E blue = #d88c96
black = #0F0F15 black = #0F0F15
grey = #89909c grey = #232332
[bar/top] [bar/top]
monitor = ${env:MONITOR:eDP-1} monitor = ${env:MONITOR:eDP-1}

View File

@ -9,6 +9,13 @@
# \__|_| |_| |_|\__,_/_/\_\ # \__|_| |_| |_|\__,_/_/\_\
# #
############################# #############################
# Install TMP if not installed
run-shell " \
if [ ! -d ~/.tmux/plugins/tpm ]; then \n\
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm \n\
fi \
"
# Tmuxline theme-file # Tmuxline theme-file
#source-file ~/.config/nvim/nord #source-file ~/.config/nvim/nord
# use vim motion keys while in copy mode # use vim motion keys while in copy mode
@ -160,7 +167,7 @@ set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-copycat' set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin "arcticicestudio/nord-tmux" set -g @plugin 'nhdaly/tmux-better-mouse-mode'
########################################################################## ##########################################################################
# Plugins settings # Plugins settings
########################################################################## ##########################################################################
@ -171,10 +178,5 @@ set -g @continuum-save-interval '10'
# for neovim # for neovim
set -g @resurrect-strategy-nvim 'session' set -g @resurrect-strategy-nvim 'session'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'

View File

@ -16,6 +16,7 @@ alias aws1='ssh ubuntu@ec2-18-196-102-236.eu-central-1.compute.amazonaws.com'
alias gcp='gcloud compute ssh instance-1' alias gcp='gcloud compute ssh instance-1'
alias blist='borg list ssh://borg@alpine0.home.hartzan.com:2222/backup/xps' alias blist='borg list ssh://borg@alpine0.home.hartzan.com:2222/backup/xps'
alias contabo='ssh hate@164.68.120.85' alias contabo='ssh hate@164.68.120.85'
alias yv='googler -w youtube.com --url-handler mpv $argv'
#Check the weather: #Check the weather:
weath() { curl wttr.in/Hameenlinna ;} weath() { curl wttr.in/Hameenlinna ;}