Merged
This commit is contained in:
commit
ff38460a8f
|
@ -7,12 +7,15 @@ 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
|
||||
<<<<<<< HEAD
|
||||
xsetwacom set "Wacom HID 50DB Finger touch" Gesture off
|
||||
run touchegg
|
||||
run nm-applet
|
||||
#run music_wake.sh
|
||||
=======
|
||||
>>>>>>> 0d908b167965b06afc60f528d598a6abea56a879
|
||||
|
|
|
@ -1,5 +1,18 @@
|
|||
return {
|
||||
widgets = {
|
||||
top = {
|
||||
left = {
|
||||
|
||||
},
|
||||
mid = {
|
||||
|
||||
},
|
||||
right = {
|
||||
"volume",
|
||||
"clock"
|
||||
}
|
||||
},
|
||||
bottom = {
|
||||
left = {
|
||||
|
||||
},
|
||||
|
@ -9,8 +22,8 @@ return {
|
|||
right = {
|
||||
"memory",
|
||||
"cpu",
|
||||
"volume",
|
||||
"clock"
|
||||
"thermal",
|
||||
}
|
||||
}
|
||||
},
|
||||
volume = {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -239,9 +239,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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
32
.vimrc
32
.vimrc
|
@ -29,27 +29,39 @@ call plug#end() " required
|
|||
|
||||
filetype plugin indent on " required
|
||||
|
||||
let g:LanguageClient_serverCommands = {
|
||||
\ 'r': ['R', '--slave', '-e', 'languageserver::run()'],
|
||||
\ }
|
||||
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
let g:deoplete#sources#clang#libclang_path = "/usr/lib/libclang.so"
|
||||
let g:deoplete#sources#clang#clang_header = "/usr/lib/clang"
|
||||
let g:deoplete#sources#rust#racer_binary='/usr/bin/racer'
|
||||
let g:deoplete#sources#rust#rust_source_path='/usr/src/rust/src'
|
||||
|
||||
let g:LanguageClient_serverCommands = {
|
||||
\ 'lua': ['lua-lsp'],
|
||||
\ }
|
||||
let g:LanguageClient_autoStart = 1
|
||||
|
||||
set tags+=./.tags
|
||||
|
||||
|
||||
" Session management
|
||||
|
||||
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()
|
||||
|
@ -63,15 +75,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()
|
||||
|
||||
"----------------------
|
||||
|
||||
|
|
11
.zshrc
11
.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
|
||||
}
|
||||
|
||||
|
@ -221,3 +227,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
|
||||
|
|
Loading…
Reference in New Issue