From 2d3eaf8fa69472b6ce66fca51302d89e3530a2d2 Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Sat, 12 Oct 2019 10:26:27 +0200 Subject: [PATCH 1/2] desktop --- .config/awesome/autorun.sh | 3 ++- .config/awesome/rc.lua | 2 +- .vimrc | 10 +--------- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.config/awesome/autorun.sh b/.config/awesome/autorun.sh index 65fc71d..143d0ce 100755 --- a/.config/awesome/autorun.sh +++ b/.config/awesome/autorun.sh @@ -7,7 +7,8 @@ function run { fi } -. ~/.config/compton/launch.sh +run ~/.config/compton/launch.sh #run ~/.config/awesome/autohidewibox.py ~/.config/awesome/autohidewibox.conf run ~/setbg.sh run dunst +run pulseeffects --gapplication-service diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 14f96ff..eef996b 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -16,7 +16,7 @@ local menubar = require("menubar") local hotkeys_popup = require("awful.hotkeys_popup") local vicious = require("vicious") local timer = require("gears.timer") -local config = require("config_laptop") +local config = require("config_desktop") local quake = require("quake") -- Enable hotkeys help widget for VIM and other apps diff --git a/.vimrc b/.vimrc index 1425e86..5b2822c 100644 --- a/.vimrc +++ b/.vimrc @@ -21,11 +21,9 @@ call plug#begin() call plug#end() " required filetype plugin indent on " required - -let g:deoplete#enable_at_startup = 1 set tags+=./.tags - + "---------------------- " move between tabs @@ -76,7 +74,6 @@ set nu let g:clang_format#code_style="webkit" -set spell spelllang=en_us set clipboard=unnamed set backspace=indent,eol,start " allow backspacing over everything in insert mode @@ -84,11 +81,6 @@ set backspace=indent,eol,start " allow backspacing over everything in insert mod " Allow saving of files as sudo when I forgot to start vim using sudo. cmap w!! w !sudo tee > /dev/null % -"spell checking -" Spell check on -set spell spelllang=en_us -setlocal spell spelllang=en_us - " where it should get the dictionary files let g:spellfile_URL = 'http://ftp.vim.org/vim/runtime/spell' From 0d908b167965b06afc60f528d598a6abea56a879 Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Mon, 4 Nov 2019 08:36:43 +0100 Subject: [PATCH 2/2] Vimrc fix --- .config/awesome/config_desktop.lua | 31 ++++++++++++++++++++--------- .config/i3/config | 6 +++--- .config/mpd/database | Bin 5220 -> 5760 bytes .config/mpd/state | 27 ++++++++++++++++--------- .config/polybar/config | 4 +--- .config/polybar/launch.sh | 4 ++-- .vim/plugged/YouCompleteMe | 1 - .vim/plugged/lightline.vim | 2 +- .vim/plugged/nerdtree | 2 +- .vim/plugged/supertab | 1 - .vimrc | 29 +++++++++++++++++++++++---- .zshrc | 13 +++++++++--- 12 files changed, 83 insertions(+), 37 deletions(-) delete mode 160000 .vim/plugged/YouCompleteMe delete mode 160000 .vim/plugged/supertab diff --git a/.config/awesome/config_desktop.lua b/.config/awesome/config_desktop.lua index a922b02..501b2d8 100644 --- a/.config/awesome/config_desktop.lua +++ b/.config/awesome/config_desktop.lua @@ -1,16 +1,29 @@ return { widgets = { - left = { + top = { + left = { + }, + mid = { + + }, + right = { + "volume", + "clock" + } }, - mid = { - "mpd" - }, - right = { - "memory", - "cpu", - "volume", - "clock" + bottom = { + left = { + + }, + mid = { + "mpd" + }, + right = { + "memory", + "cpu", + "thermal", + } } }, volume = { diff --git a/.config/i3/config b/.config/i3/config index 2eb9b0e..3450a44 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -237,9 +237,9 @@ mode "resize" { bindsym $mod+r mode "resize" # Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id sh -c "pactl set-sink-mute 0 false && pactl set-sink-volume 0 +5%" -bindsym XF86AudioLowerVolume exec --no-startup-id sh -c "pactl set-sink-mute 0 false && pactl set-sink-volume 0 -5%" -bindsym XF86AudioMute exec --no-startup-id sh -c "pactl set-sink-mute 0 toggle" +bindsym XF86AudioRaiseVolume exec --no-startup-id sh -c "pactl set-sink-mute 1 false && pactl set-sink-volume 1 +5%" +bindsym XF86AudioLowerVolume exec --no-startup-id sh -c "pactl set-sink-mute 1 false && pactl set-sink-volume 1 -5%" +bindsym XF86AudioMute exec --no-startup-id sh -c "pactl set-sink-mute 1 toggle" # Workspace assignment diff --git a/.config/mpd/database b/.config/mpd/database index ae535b643be40d1e5deef9ccf5079ad7489cb280..34a972457a17e19cb81e3133f854f74510cf75fe 100644 GIT binary patch literal 5760 zcmV-`7JumlBoW($h8wpGU-jy9n3Bk z1KFYzA+nSs%bm_6?3?U+oEO`oWZ9xDTCyz*4fFtwvEvfSuc}CXRlF#SC&}L<@f5~K zlO&z`*(XGfrmw-@-$gnLllT*|OoC0!jwZ9e$IpH`6Cm>S;lkiYng8?&9j941%c`I6 zleGLEjpozJ$J#H-qpLrxq#nX75{r+iKYl4b{^?H_fBY=sbn)@b&laC<(-6@3(dsX! z$@DduiM06kMWhmG`SmQEjf+p${zyc{$D6PBSEna;$5(&;*Wbr?4_EgOS7!~sT%UZs z(f*)+?&0qE^pB<=?#{2zkMGa5zdzpI$-jrvW+D!bf-n{1EJ@!b{`u2$CQ@Xes|orm znWJmre;4RCVqy9_`tOVDxA`Zf!lT^epB6z_bW7x7jVdoQBfwf(aac;As{ZerX5Q6TfN%mYr!m!C4 zXMZG%vP&qW7buPf3YGO|&k7Kmno!sNK=P7H7_=7{t_B7}_gNT43Jgq4hxg!FdC4UV zc2LK%(RDZxagyA04#W<*KK2|%tW1BYVp{L{}moWH2t>K~L=?n(^z@Msv zFfrXed}~>H3CBC+_=PQW|LjLm@}~5AhN27s!IRAOC!XUNlv!hgc_ZH#*%QaGT}DS9c5NPzqb3^p3Hf*| z0xE2Sxeh#PF~=AME;9l~_=I84Pmk*jzB2(vk-hq zb(6Ayr5`yf?zPEv9NTp%cXWJ&NW09ZBZwtbPU4szSu@L0xkPwD-~`kl6OS4!7&~AV zha0wM+t!4;WW?>IGK%7RvTq+&8p0}MAFEKX%2^V|PY9SPx(lHa^zaPdm9B$XIgK>h zh|>|B*nw|Q*8&^)m>E8_#h5UQIF`T@V)>538*#s6Yfal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83ec 100644 --- a/.config/mpd/state +++ b/.config/mpd/state @@ -1,7 +1,8 @@ sw_volume: 25 audio_device_state:1:pulse audio -state: stop -current: 0 +state: pause +current: 5 +time: 226.287000 random: 0 repeat: 0 single: 0 @@ -10,11 +11,19 @@ crossfade: 0 mixrampdb: 0.000000 mixrampdelay: -1.000000 playlist_begin -0:This Will Destroy You/This Will Destroy You - THIS WILL DESTROY YOU - S-T - 01 A Three-Legged Workhorse.flac -1:This Will Destroy You/This Will Destroy You - THIS WILL DESTROY YOU - S-T - 02 Villa del Refugio.flac -2:This Will Destroy You/This Will Destroy You - THIS WILL DESTROY YOU - S-T - 03 Threads.flac -3:This Will Destroy You/This Will Destroy You - THIS WILL DESTROY YOU - S-T - 04 Leather Wings.flac -4:This Will Destroy You/This Will Destroy You - THIS WILL DESTROY YOU - S-T - 05 The Mighty Rio Grande.flac -5:This Will Destroy You/This Will Destroy You - THIS WILL DESTROY YOU - S-T - 06 They Move on Tracks of Never-Ending Light.flac -6:This Will Destroy You/This Will Destroy You - THIS WILL DESTROY YOU - S-T - 07 Burial on the Presidio Banks.flac +0:Frightened Rabbit - P. Of A P.A. (2016) DE/01. Death Dream.mp3 +1:Frightened Rabbit - P. Of A P.A. (2016) DE/02. Get Out.mp3 +2:Frightened Rabbit - P. Of A P.A. (2016) DE/03. I Wish I Was Sober.mp3 +3:Frightened Rabbit - P. Of A P.A. (2016) DE/04. Woke Up Hurting.mp3 +4:Frightened Rabbit - P. Of A P.A. (2016) DE/05. Little Drum.mp3 +5:Frightened Rabbit - P. Of A P.A. (2016) DE/06. Still Want To Be Here.mp3 +6:Frightened Rabbit - P. Of A P.A. (2016) DE/07. An Otherwise Disappointing Life.mp3 +7:Frightened Rabbit - P. Of A P.A. (2016) DE/08. Break.mp3 +8:Frightened Rabbit - P. Of A P.A. (2016) DE/09. Blood Under The Bridge.mp3 +9:Frightened Rabbit - P. Of A P.A. (2016) DE/10. 400 Bones.mp3 +10:Frightened Rabbit - P. Of A P.A. (2016) DE/11. Lump Street.mp3 +11:Frightened Rabbit - P. Of A P.A. (2016) DE/12. Die Like A Rich Boy.mp3 +12:Frightened Rabbit - P. Of A P.A. (2016) DE/13. The Wreck.mp3 +13:Frightened Rabbit - P. Of A P.A. (2016) DE/14. Wait 'Til The Morning.mp3 +14:Frightened Rabbit - P. Of A P.A. (2016) DE/15. A Lick Of Paint.mp3 playlist_end diff --git a/.config/polybar/config b/.config/polybar/config index cc6f9c0..322f890 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -53,9 +53,7 @@ font-5 = "Font Awesome 5 Brands:pixelsize=12;1" modules-left = i3 workspaces-xmonad modules-center = xwindow ;weather update installed -modules-right = temperature xbacklight volume wlan battery date - -tray-postion = right +modules-right = temperature xbacklight memory volume wlan battery date override-redirect = false diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index 48c8054..22fb743 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh @@ -5,11 +5,11 @@ killall polybar if type "xrandr"; then for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do MONITOR=$m polybar --reload bar1 & - MONITOR=$m polybar --reload touchbar & + #MONITOR=$m polybar --reload touchbar & done else polybar --reload bar1 & - polybar --reload touchbar & + #polybar --reload touchbar & fi sleep 1 diff --git a/.vim/plugged/YouCompleteMe b/.vim/plugged/YouCompleteMe deleted file mode 160000 index d556a43..0000000 --- a/.vim/plugged/YouCompleteMe +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d556a43c1af6a4e4075e875934e250f589df0dee diff --git a/.vim/plugged/lightline.vim b/.vim/plugged/lightline.vim index 80c242c..bc82a1c 160000 --- a/.vim/plugged/lightline.vim +++ b/.vim/plugged/lightline.vim @@ -1 +1 @@ -Subproject commit 80c242c3c5394fd5143b5d7e2741989ba04ae46a +Subproject commit bc82a1c7b6d8517d4e9224a254968e0f0b334fdf diff --git a/.vim/plugged/nerdtree b/.vim/plugged/nerdtree index 1c803b3..63c5920 160000 --- a/.vim/plugged/nerdtree +++ b/.vim/plugged/nerdtree @@ -1 +1 @@ -Subproject commit 1c803b36f632c151c755456b68101153f407ec5e +Subproject commit 63c59208c1f9eef7068a944f5c3033bd1a348b97 diff --git a/.vim/plugged/supertab b/.vim/plugged/supertab deleted file mode 160000 index 40fe711..0000000 --- a/.vim/plugged/supertab +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 40fe711e088e2ab346738233dd5adbb1be355172 diff --git a/.vimrc b/.vimrc index 5202c96..00a7697 100644 --- a/.vimrc +++ b/.vimrc @@ -15,7 +15,7 @@ call plug#begin() Plug 'Shougo/deoplete.nvim' Plug 'roxma/nvim-yarp' Plug 'roxma/vim-hug-neovim-rpc' - Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' } + "Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' } Plug 'jpalardy/vim-slime' Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', @@ -27,6 +27,10 @@ call plug#end() " required filetype plugin indent on " required let g:deoplete#enable_at_startup = 1 +let g:LanguageClient_serverCommands = { + \ 'lua': ['lua-lsp'], + \ } +let g:LanguageClient_autoStart = 1 set tags+=./.tags @@ -34,9 +38,22 @@ set tags+=./.tags set switchbuf=useopen,usetab +let g:session = 0 + +fu! AutoSaveSess() + if g:session == 1 + call SaveSess() + endif +endfunction fu! SaveSess() + execute 'NERDTreeTabsClose' execute 'mksession! ' . getcwd() . '/.session.vim' + let g:session = 1 +endfunction + +fu! RemoveSess() + shell "rm " . getcwd() . "/.session.vim" endfunction fu! RestoreSess() @@ -50,15 +67,19 @@ if filereadable(getcwd() . '/.session.vim') execute 'sb ' . file endif endfor + let g:session = 1 endif endfunction +:command Savesess call SaveSess() +:command Restoresess call RestoreSess() +:command Removesess call RemoveSess() + " Save session on quitting Vim -autocmd VimLeave * NERDTreeTabsClose -autocmd VimLeave * call SaveSess() +autocmd VimLeave * call AutoSaveSess() " Restore session on starting Vim -autocmd VimEnter * nested call RestoreSess() +"autocmd VimEnter * nested call RestoreSess() "---------------------- diff --git a/.zshrc b/.zshrc index 378fb1c..3cb3f65 100644 --- a/.zshrc +++ b/.zshrc @@ -1,5 +1,6 @@ # If you come from bash you might have to change your $PATH. export PATH=$HOME/bin:/usr/local/bin:$PATH +export PATH="$PATH:$HOME/go/bin:$HOME/.cargo/bin" export ZSH=/usr/share/oh-my-zsh @@ -50,6 +51,11 @@ export ZSH=/usr/share/oh-my-zsh #POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(${P9K__RIGHT}) #POWERLEVEL9K_SHOW_CHANGESET=true +# +if [[ $TERM == xterm-termite ]]; then + . /etc/profile.d/vte.sh + __vte_osc7 +fi HYPHEN_INSENSITIVE="true" COMPLETION_WAITING_DOTS="true" @@ -176,12 +182,12 @@ c() { alias ga="git add ." alias gc="git commit -m" +alias gac="git commit -a -m" alias gpsh="git push" alias gpll="git pull" gacp() { - ga && - gc $1 && + gac $1 && gpsh } @@ -198,7 +204,7 @@ alias v="vi" # Scripts alias rotate="~/.config/i3/rotate.sh" -alias tp='source tp' +#alias tp='source tp' alias ant="JAVA_HOME=/usr/lib/jvm/java-11-openjdk ant" @@ -220,3 +226,4 @@ export PATH=$HOME/bin:/usr/local/bin:$PATH eval $(thefuck --alias) alias config='/usr/bin/git --git-dir=/home/daan/.cfg/ --work-tree=/home/daan' alias config='/usr/bin/git --git-dir=/home/daan/.cfg/ --work-tree=/home/daan' +source /home/daan/.local/bin/tp