Merge branch 'master' into laptop
This commit is contained in:
+3
-1
@@ -1,3 +1,5 @@
|
|||||||
.vscode
|
.vscode
|
||||||
*__pycache__
|
*__pycache__
|
||||||
.vim/plugged/*
|
.vim/plugged/*
|
||||||
|
neovim/.config/nvim/plugged
|
||||||
|
neovim/.config/nvim/spell/
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[submodule "zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions"]
|
||||||
|
path = zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions
|
||||||
|
url = https://github.com/zsh-users/zsh-autosuggestions
|
||||||
|
[submodule "zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting"]
|
||||||
|
path = zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
|
||||||
|
url = https://github.com/zsh-users/zsh-syntax-highlighting
|
||||||
@@ -1,2 +1,5 @@
|
|||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
1. create hard link from _firefox/userChrome.css_ to _.mozilla/firefox/\<profile>/chrome/userChrome.css
|
||||||
|
1. add content of TST-config to the TST config
|
||||||
+36
-19
@@ -1,19 +1,36 @@
|
|||||||
! Dracula Xresources palette
|
! -----------------------------------------------------------------------------
|
||||||
*.foreground: #F8F8F2
|
! File: gruvbox-dark.xresources
|
||||||
*.background: #282A36
|
! Description: Retro groove colorscheme generalized
|
||||||
*.color0: #000000
|
! Author: morhetz <morhetz@gmail.com>
|
||||||
*.color8: #4D4D4D
|
! Source: https://github.com/morhetz/gruvbox-generalized
|
||||||
*.color1: #FF5555
|
! Last Modified: 6 Sep 2014
|
||||||
*.color9: #FF6E67
|
! -----------------------------------------------------------------------------
|
||||||
*.color2: #50FA7B
|
|
||||||
*.color10: #5AF78E
|
! hard contrast: *background: #1d2021
|
||||||
*.color3: #F1FA8C
|
*background: #282828
|
||||||
*.color11: #F4F99D
|
! soft contrast: *background: #32302f
|
||||||
*.color4: #BD93F9
|
*foreground: #ebdbb2
|
||||||
*.color12: #CAA9FA
|
! Black + DarkGrey
|
||||||
*.color5: #FF79C6
|
*color0: #282828
|
||||||
*.color13: #FF92D0
|
*color8: #928374
|
||||||
*.color6: #8BE9FD
|
! DarkRed + Red
|
||||||
*.color14: #9AEDFE
|
*color1: #cc241d
|
||||||
*.color7: #BFBFBF
|
*color9: #fb4934
|
||||||
*.color15: #E6E6E6
|
! DarkGreen + Green
|
||||||
|
*color2: #98971a
|
||||||
|
*color10: #b8bb26
|
||||||
|
! DarkYellow + Yellow
|
||||||
|
*color3: #d79921
|
||||||
|
*color11: #fabd2f
|
||||||
|
! DarkBlue + Blue
|
||||||
|
*color4: #458588
|
||||||
|
*color12: #83a598
|
||||||
|
! DarkMagenta + Magenta
|
||||||
|
*color5: #b16286
|
||||||
|
*color13: #d3869b
|
||||||
|
! DarkCyan + Cyan
|
||||||
|
*color6: #689d6a
|
||||||
|
*color14: #8ec07c
|
||||||
|
! LightGrey + White
|
||||||
|
*color7: #a89984
|
||||||
|
*color15: #ebdbb2
|
||||||
|
|||||||
+8
-4
@@ -42,10 +42,10 @@ alias update-all="pikaur -Syu" # update standard pkgs and AUR pkg
|
|||||||
alias cleanup='sudo pacman -Rns $(pacman -Qtdq)' # remove orphaned packages
|
alias cleanup='sudo pacman -Rns $(pacman -Qtdq)' # remove orphaned packages
|
||||||
|
|
||||||
# Changing "ls" to "exa"
|
# Changing "ls" to "exa"
|
||||||
alias ls='exa -l --color=always --group-directories-first' # my preferred listing
|
alias ls='exa -l --color=always --group-directories-first --git' # my preferred listing
|
||||||
alias la='exa -a --color=always --group-directories-first' # all files and dirs
|
alias la='exa -a --color=always --group-directories-firs --git' # all files and dirs
|
||||||
alias ll='exa -al --color=always --group-directories-first' # long format
|
alias ll='exa -al --color=always --group-directories-first --git' # long format
|
||||||
alias lt='exa -aT --color=always --group-directories-first' # tree listing
|
alias lt='exa -aT --color=always --group-directories-first --git' # tree listing
|
||||||
alias l.='exa -a | egrep "^\."'
|
alias l.='exa -a | egrep "^\."'
|
||||||
|
|
||||||
# Colorize grep output (good for log files)
|
# Colorize grep output (good for log files)
|
||||||
@@ -73,8 +73,10 @@ alias pull='git pull origin'
|
|||||||
alias push='git push origin'
|
alias push='git push origin'
|
||||||
alias status='git status'
|
alias status='git status'
|
||||||
alias diff='git diff'
|
alias diff='git diff'
|
||||||
|
alias remote='git remote'
|
||||||
alias ftemplate='git fetch template'
|
alias ftemplate='git fetch template'
|
||||||
alias mtemplate='git merge template/master --allow-unrelated-histories'
|
alias mtemplate='git merge template/master --allow-unrelated-histories'
|
||||||
|
alias log='git log'
|
||||||
|
|
||||||
#st programs
|
#st programs
|
||||||
alias cubeide='~/st/stm32cubeide_1.5.0/stm32cubeide'
|
alias cubeide='~/st/stm32cubeide_1.5.0/stm32cubeide'
|
||||||
@@ -147,4 +149,6 @@ ex ()
|
|||||||
mkcd() { mkdir "$@"&&cd "$@";}
|
mkcd() { mkdir "$@"&&cd "$@";}
|
||||||
# "cdls" to cd and ls in one go
|
# "cdls" to cd and ls in one go
|
||||||
cdls() { cd "$@"&&ls;}
|
cdls() { cd "$@"&&ls;}
|
||||||
|
#cdvim to cd into the directory of a file and open the file in vim
|
||||||
|
cdvim(){ cd "$(dirname "$@")" && vim "$(basename "$@")";}
|
||||||
# <<< cd shortcuts <<<
|
# <<< cd shortcuts <<<
|
||||||
|
|||||||
@@ -1,20 +1,33 @@
|
|||||||
|
apommel.matlab-interactive-terminal
|
||||||
|
bramvanbilsen.matlab-code-run
|
||||||
|
cschlosser.doxdocgen
|
||||||
DotJoshJohnson.xml
|
DotJoshJohnson.xml
|
||||||
dracula-theme.theme-dracula
|
dracula-theme.theme-dracula
|
||||||
eamodio.gitlens
|
eamodio.gitlens
|
||||||
|
Gimly81.matlab
|
||||||
|
GrapeCity.gc-excelviewer
|
||||||
James-Yu.latex-workshop
|
James-Yu.latex-workshop
|
||||||
|
jdinhlife.gruvbox
|
||||||
mads-hartmann.bash-ide-vscode
|
mads-hartmann.bash-ide-vscode
|
||||||
marus25.cortex-debug
|
marus25.cortex-debug
|
||||||
|
mechatroner.rainbow-csv
|
||||||
ms-azuretools.vscode-docker
|
ms-azuretools.vscode-docker
|
||||||
ms-python.python
|
ms-python.python
|
||||||
|
ms-python.vscode-pylance
|
||||||
ms-toolsai.jupyter
|
ms-toolsai.jupyter
|
||||||
|
ms-toolsai.jupyter-keymap
|
||||||
|
ms-toolsai.jupyter-renderers
|
||||||
ms-vscode-remote.remote-ssh
|
ms-vscode-remote.remote-ssh
|
||||||
ms-vscode-remote.remote-ssh-edit
|
ms-vscode-remote.remote-ssh-edit
|
||||||
ms-vscode.cpptools
|
ms-vscode.cpptools
|
||||||
|
ms-vscode.makefile-tools
|
||||||
naumovs.color-highlight
|
naumovs.color-highlight
|
||||||
njpwerner.autodocstring
|
njpwerner.autodocstring
|
||||||
|
redhat.vscode-commons
|
||||||
redhat.vscode-xml
|
redhat.vscode-xml
|
||||||
rogalmic.bash-debug
|
rogalmic.bash-debug
|
||||||
shd101wyy.markdown-preview-enhanced
|
shd101wyy.markdown-preview-enhanced
|
||||||
|
skyran.matlab-snippets
|
||||||
streetsidesoftware.code-spell-checker
|
streetsidesoftware.code-spell-checker
|
||||||
streetsidesoftware.code-spell-checker-german
|
streetsidesoftware.code-spell-checker-german
|
||||||
stxr.iconfont-preview
|
stxr.iconfont-preview
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
/* Hide border on tab bar, force its state to 'scroll', adjust margin-left for width of scrollbar. */
|
||||||
|
#tabbar { border: 0; overflow-y: scroll !important; margin-left: -12px !important; scrollbar-width: auto; }
|
||||||
|
|
||||||
|
/* Hide .twisty and adjust margins so favicons have 7px on left. */
|
||||||
|
tab-item .twisty {
|
||||||
|
visibility: hidden;
|
||||||
|
margin-left: -12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Push tab labels slightly to the right so they're completely hidden in collapsed state */
|
||||||
|
tab-item .label {
|
||||||
|
margin-left: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hide close buttons on tabs. */
|
||||||
|
tab-item .closebox {
|
||||||
|
visibility: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
tab-item:hover .closebox {
|
||||||
|
visibility: initial;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hide sound playing/muted button. */
|
||||||
|
.sound-button::before {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
/* Hide main tabs toolbar */
|
||||||
|
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items {
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
|
||||||
|
visibility: collapse !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sidebar min and max width removal */
|
||||||
|
#sidebar {
|
||||||
|
max-width: none !important;
|
||||||
|
min-width: 0px !important;
|
||||||
|
}
|
||||||
|
/* Hide splitter, when using Tree Style Tab. */
|
||||||
|
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] + #sidebar-splitter {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
/* Hide sidebar header, when using Tree Style Tab. */
|
||||||
|
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
|
||||||
|
visibility: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Shrink sidebar until hovered, when using Tree Style Tab. */
|
||||||
|
:root {
|
||||||
|
--thin-tab-width: 30px;
|
||||||
|
--wide-tab-width: 200px;
|
||||||
|
}
|
||||||
|
#sidebar-box:not([sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]) {
|
||||||
|
min-width: var(--wide-tab-width) !important;
|
||||||
|
max-width: none !important;
|
||||||
|
}
|
||||||
|
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {
|
||||||
|
position: relative !important;
|
||||||
|
transition: all 100ms !important;
|
||||||
|
min-width: var(--thin-tab-width) !important;
|
||||||
|
max-width: var(--thin-tab-width) !important;
|
||||||
|
}
|
||||||
|
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover {
|
||||||
|
transition: all 200ms !important;
|
||||||
|
min-width: var(--wide-tab-width) !important;
|
||||||
|
max-width: var(--wide-tab-width) !important;
|
||||||
|
margin-right: calc((var(--wide-tab-width) - var(--thin-tab-width)) * -1) !important;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
|
https://paul-loedige:5SC%24%5e%5eonvuD5Ze@git.owl-racing-team.de
|
||||||
https://paul-loedige:VhD%40R46%2ai9k%24tumJgD3T@git.ploedige.com
|
https://paul-loedige:VhD%40R46%2ai9k%24tumJgD3T@git.ploedige.com
|
||||||
https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de
|
https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de
|
||||||
https://paul-loedige:5SC%24%5e%5eonvuD5Ze@git.owl-racing-team.de
|
|
||||||
|
|||||||
@@ -20,4 +20,8 @@ do
|
|||||||
code --install-extension $extension --force
|
code --install-extension $extension --force
|
||||||
done
|
done
|
||||||
|
|
||||||
|
#pip install
|
||||||
|
cd /home/$USER/.dotfiles
|
||||||
|
pip install -r ./pip-modules.txt
|
||||||
|
|
||||||
echo "Manually STOW the configs!"
|
echo "Manually STOW the configs!"
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"git.removedSign.text": "✗",
|
||||||
|
"git.addedSign.hlGroup": "GitGutterAdd",
|
||||||
|
"git.changedSign.hlGroup": "GitGutterChange",
|
||||||
|
"git.removedSign.hlGroup": "GitGutterDelete",
|
||||||
|
"git.topRemovedSign.hlGroup": "GitGutterDelete",
|
||||||
|
"git.changeRemovedSign.hlGroup": "GitGutterChangeDelete"
|
||||||
|
}
|
||||||
@@ -0,0 +1,161 @@
|
|||||||
|
" TextEdit might fail if hidden is not set.
|
||||||
|
set hidden
|
||||||
|
|
||||||
|
" Some servers have issues with backup files, see #649.
|
||||||
|
set nobackup
|
||||||
|
set nowritebackup
|
||||||
|
|
||||||
|
" Give more space for displaying messages.
|
||||||
|
set cmdheight=2
|
||||||
|
|
||||||
|
" Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable
|
||||||
|
" delays and poor user experience.
|
||||||
|
set updatetime=300
|
||||||
|
|
||||||
|
" Don't pass messages to |ins-completion-menu|.
|
||||||
|
set shortmess+=c
|
||||||
|
|
||||||
|
" Always show the signcolumn, otherwise it would shift the text each time
|
||||||
|
" diagnostics appear/become resolved.
|
||||||
|
if has("nvim-0.5.0") || has("patch-8.1.1564")
|
||||||
|
" Recently vim can merge signcolumn and number column into one
|
||||||
|
set signcolumn=number
|
||||||
|
else
|
||||||
|
set signcolumn=yes
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Use tab for trigger completion with characters ahead and navigate.
|
||||||
|
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
|
||||||
|
" other plugin before putting this into your config.
|
||||||
|
inoremap <silent><expr> <TAB>
|
||||||
|
\ pumvisible() ? "\<C-n>" :
|
||||||
|
\ <SID>check_back_space() ? "\<TAB>" :
|
||||||
|
\ coc#refresh()
|
||||||
|
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
||||||
|
|
||||||
|
function! s:check_back_space() abort
|
||||||
|
let col = col('.') - 1
|
||||||
|
return !col || getline('.')[col - 1] =~# '\s'
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
" Use <c-space> to trigger completion.
|
||||||
|
if has('nvim')
|
||||||
|
inoremap <silent><expr> <c-space> coc#refresh()
|
||||||
|
else
|
||||||
|
inoremap <silent><expr> <c-@> coc#refresh()
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Make <CR> auto-select the first completion item and notify coc.nvim to
|
||||||
|
" format on enter, <cr> could be remapped by other vim plugin
|
||||||
|
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm()
|
||||||
|
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
|
||||||
|
|
||||||
|
" Use `[g` and `]g` to navigate diagnostics
|
||||||
|
" Use `:CocDiagnostics` to get all diagnostics of current buffer in location list.
|
||||||
|
nmap <silent> [g <Plug>(coc-diagnostic-prev)
|
||||||
|
nmap <silent> ]g <Plug>(coc-diagnostic-next)
|
||||||
|
|
||||||
|
" GoTo code navigation.
|
||||||
|
nmap <silent> gd <Plug>(coc-definition)
|
||||||
|
nmap <silent> gy <Plug>(coc-type-definition)
|
||||||
|
nmap <silent> gi <Plug>(coc-implementation)
|
||||||
|
nmap <silent> gr <Plug>(coc-references)
|
||||||
|
|
||||||
|
" Use K to show documentation in preview window.
|
||||||
|
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||||
|
|
||||||
|
function! s:show_documentation()
|
||||||
|
if (index(['vim','help'], &filetype) >= 0)
|
||||||
|
execute 'h '.expand('<cword>')
|
||||||
|
elseif (coc#rpc#ready())
|
||||||
|
call CocActionAsync('doHover')
|
||||||
|
else
|
||||||
|
execute '!' . &keywordprg . " " . expand('<cword>')
|
||||||
|
endif
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
" Highlight the symbol and its references when holding the cursor.
|
||||||
|
autocmd CursorHold * silent call CocActionAsync('highlight')
|
||||||
|
|
||||||
|
" Symbol renaming.
|
||||||
|
nmap <leader>rn <Plug>(coc-rename)
|
||||||
|
|
||||||
|
" Formatting selected code.
|
||||||
|
xmap <leader>f <Plug>(coc-format-selected)
|
||||||
|
nmap <leader>f <Plug>(coc-format-selected)
|
||||||
|
|
||||||
|
augroup mygroup
|
||||||
|
autocmd!
|
||||||
|
" Setup formatexpr specified filetype(s).
|
||||||
|
autocmd FileType typescript,json setl formatexpr=CocAction('formatSelected')
|
||||||
|
" Update signature help on jump placeholder.
|
||||||
|
autocmd User CocJumpPlaceholder call CocActionAsync('showSignatureHelp')
|
||||||
|
augroup end
|
||||||
|
|
||||||
|
" Applying codeAction to the selected region.
|
||||||
|
" Example: `<leader>aap` for current paragraph
|
||||||
|
xmap <leader>a <Plug>(coc-codeaction-selected)
|
||||||
|
nmap <leader>a <Plug>(coc-codeaction-selected)
|
||||||
|
|
||||||
|
" Remap keys for applying codeAction to the current buffer.
|
||||||
|
nmap <leader>ac <Plug>(coc-codeaction)
|
||||||
|
" Apply AutoFix to problem on the current line.
|
||||||
|
nmap <leader>qf <Plug>(coc-fix-current)
|
||||||
|
|
||||||
|
" Map function and class text objects
|
||||||
|
" NOTE: Requires 'textDocument.documentSymbol' support from the language server.
|
||||||
|
xmap if <Plug>(coc-funcobj-i)
|
||||||
|
omap if <Plug>(coc-funcobj-i)
|
||||||
|
xmap af <Plug>(coc-funcobj-a)
|
||||||
|
omap af <Plug>(coc-funcobj-a)
|
||||||
|
xmap ic <Plug>(coc-classobj-i)
|
||||||
|
omap ic <Plug>(coc-classobj-i)
|
||||||
|
xmap ac <Plug>(coc-classobj-a)
|
||||||
|
omap ac <Plug>(coc-classobj-a)
|
||||||
|
|
||||||
|
" Remap <C-f> and <C-b> for scroll float windows/popups.
|
||||||
|
if has('nvim-0.4.0') || has('patch-8.2.0750')
|
||||||
|
nnoremap <silent><nowait><expr> <C-f> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>"
|
||||||
|
nnoremap <silent><nowait><expr> <C-b> coc#float#has_scroll() ? coc#float#scroll(0) : "\<C-b>"
|
||||||
|
inoremap <silent><nowait><expr> <C-f> coc#float#has_scroll() ? "\<c-r>=coc#float#scroll(1)\<cr>" : "\<Right>"
|
||||||
|
inoremap <silent><nowait><expr> <C-b> coc#float#has_scroll() ? "\<c-r>=coc#float#scroll(0)\<cr>" : "\<Left>"
|
||||||
|
vnoremap <silent><nowait><expr> <C-f> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>"
|
||||||
|
vnoremap <silent><nowait><expr> <C-b> coc#float#has_scroll() ? coc#float#scroll(0) : "\<C-b>"
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Use CTRL-S for selections ranges.
|
||||||
|
" Requires 'textDocument/selectionRange' support of language server.
|
||||||
|
nmap <silent> <C-s> <Plug>(coc-range-select)
|
||||||
|
xmap <silent> <C-s> <Plug>(coc-range-select)
|
||||||
|
|
||||||
|
" Add `:Format` command to format current buffer.
|
||||||
|
command! -nargs=0 Format :call CocAction('format')
|
||||||
|
|
||||||
|
" Add `:Fold` command to fold current buffer.
|
||||||
|
command! -nargs=? Fold :call CocAction('fold', <f-args>)
|
||||||
|
|
||||||
|
" Add `:OR` command for organize imports of the current buffer.
|
||||||
|
command! -nargs=0 OR :call CocAction('runCommand', 'editor.action.organizeImport')
|
||||||
|
|
||||||
|
" Add (Neo)Vim's native statusline support.
|
||||||
|
" NOTE: Please see `:h coc-status` for integrations with external plugins that
|
||||||
|
" provide custom statusline: lightline.vim, vim-airline.
|
||||||
|
set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
|
||||||
|
|
||||||
|
" Mappings for CoCList
|
||||||
|
" Show all diagnostics.
|
||||||
|
nnoremap <silent><nowait> <space>a :<C-u>CocList diagnostics<cr>
|
||||||
|
" Manage extensions.
|
||||||
|
nnoremap <silent><nowait> <space>e :<C-u>CocList extensions<cr>
|
||||||
|
" Show commands.
|
||||||
|
nnoremap <silent><nowait> <space>c :<C-u>CocList commands<cr>
|
||||||
|
" Find symbol of current document.
|
||||||
|
nnoremap <silent><nowait> <space>o :<C-u>CocList outline<cr>
|
||||||
|
" Search workspace symbols.
|
||||||
|
nnoremap <silent><nowait> <space>s :<C-u>CocList -I symbols<cr>
|
||||||
|
" Do default action for next item.
|
||||||
|
nnoremap <silent><nowait> <space>j :<C-u>CocNext<CR>
|
||||||
|
" Do default action for previous item.
|
||||||
|
nnoremap <silent><nowait> <space>k :<C-u>CocPrev<CR>
|
||||||
|
" Resume latest coc list.
|
||||||
|
nnoremap <silent><nowait> <space>p :<C-u>CocListResume<CR>
|
||||||
@@ -0,0 +1,504 @@
|
|||||||
|
#################################
|
||||||
|
# Animations #
|
||||||
|
#################################
|
||||||
|
# requires https://github.com/jonaburg/picom
|
||||||
|
# (These are also the default values)
|
||||||
|
transition-length = 300
|
||||||
|
transition-pow-x = 0.1
|
||||||
|
transition-pow-y = 0.1
|
||||||
|
transition-pow-w = 0.1
|
||||||
|
transition-pow-h = 0.1
|
||||||
|
size-transition = true
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Corners #
|
||||||
|
#################################
|
||||||
|
# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom
|
||||||
|
corner-radius = 10.0;
|
||||||
|
rounded-corners-exclude = [
|
||||||
|
#"window_type = 'normal'",
|
||||||
|
#"class_g = 'awesome'",
|
||||||
|
#"class_g = 'Alacritty'",
|
||||||
|
"class_g = 'Polybar'",
|
||||||
|
"class_g = 'code-oss'",
|
||||||
|
"! name~=''",
|
||||||
|
];
|
||||||
|
round-borders = 1;
|
||||||
|
round-borders-exclude = [
|
||||||
|
#"class_g = 'TelegramDesktop'",
|
||||||
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Shadows #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Enabled client-side shadows on windows. Note desktop windows
|
||||||
|
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
|
||||||
|
# unless explicitly requested using the wintypes option.
|
||||||
|
#
|
||||||
|
# shadow = false
|
||||||
|
shadow = false;
|
||||||
|
|
||||||
|
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||||
|
# shadow-radius = 12
|
||||||
|
shadow-radius = 7;
|
||||||
|
|
||||||
|
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
||||||
|
# shadow-opacity = .75
|
||||||
|
|
||||||
|
# The left offset for shadows, in pixels. (defaults to -15)
|
||||||
|
# shadow-offset-x = -15
|
||||||
|
shadow-offset-x = -7;
|
||||||
|
|
||||||
|
# The top offset for shadows, in pixels. (defaults to -15)
|
||||||
|
# shadow-offset-y = -15
|
||||||
|
shadow-offset-y = -7;
|
||||||
|
|
||||||
|
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
|
||||||
|
# you should use the *wintypes* option in your config file instead.
|
||||||
|
#
|
||||||
|
# no-dock-shadow = false
|
||||||
|
|
||||||
|
# Don't draw shadows on drag-and-drop windows. This option is deprecated,
|
||||||
|
# you should use the *wintypes* option in your config file instead.
|
||||||
|
#
|
||||||
|
# no-dnd-shadow = false
|
||||||
|
|
||||||
|
# Red color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
|
# shadow-red = 0
|
||||||
|
|
||||||
|
# Green color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
|
# shadow-green = 0
|
||||||
|
|
||||||
|
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
|
# shadow-blue = 0
|
||||||
|
|
||||||
|
# Do not paint shadows on shaped windows. Note shaped windows
|
||||||
|
# here means windows setting its shape through X Shape extension.
|
||||||
|
# Those using ARGB background is beyond our control.
|
||||||
|
# Deprecated, use
|
||||||
|
# shadow-exclude = 'bounding_shaped'
|
||||||
|
# or
|
||||||
|
# shadow-exclude = 'bounding_shaped && !rounded_corners'
|
||||||
|
# instead.
|
||||||
|
#
|
||||||
|
# shadow-ignore-shaped = ''
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should have no shadow.
|
||||||
|
#
|
||||||
|
# examples:
|
||||||
|
# shadow-exclude = "n:e:Notification";
|
||||||
|
#
|
||||||
|
# shadow-exclude = []
|
||||||
|
shadow-exclude = [
|
||||||
|
"name = 'Notification'",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
# "class_g = 'slop'",
|
||||||
|
# "class_g = 'Polybar'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Specify a X geometry that describes the region in which shadow should not
|
||||||
|
# be painted in, such as a dock window region. Use
|
||||||
|
# shadow-exclude-reg = "x10+0+0"
|
||||||
|
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
|
||||||
|
#
|
||||||
|
# shadow-exclude-reg = ""
|
||||||
|
|
||||||
|
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
|
||||||
|
# xinerama-shadow-crop = false
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Fading #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Fade windows in/out when opening/closing and when opacity changes,
|
||||||
|
# unless no-fading-openclose is used.
|
||||||
|
# fading = false
|
||||||
|
fading = true;
|
||||||
|
|
||||||
|
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||||
|
# fade-in-step = 0.028
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
|
||||||
|
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
|
||||||
|
# fade-out-step = 0.03
|
||||||
|
fade-out-step = 0.03;
|
||||||
|
|
||||||
|
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
||||||
|
# fade-delta = 10
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
|
# don't need this, we disable fading for all normal windows with wintypes: {}
|
||||||
|
fade-exclude = [
|
||||||
|
#"clss_g = 'slop'" # maim
|
||||||
|
]
|
||||||
|
|
||||||
|
# Do not fade on window open/close.
|
||||||
|
# no-fading-openclose = false
|
||||||
|
|
||||||
|
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
|
||||||
|
# no-fading-destroyed-argb = false
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Transparency / Opacity #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||||
|
# inactive-opacity = 1
|
||||||
|
inactive-opacity = 0.8;
|
||||||
|
|
||||||
|
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||||
|
# frame-opacity = 1.0
|
||||||
|
frame-opacity = 0.7;
|
||||||
|
|
||||||
|
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
|
||||||
|
# menu-opacity = 1.0
|
||||||
|
# menu-opacity is depreciated use dropdown-menu and popup-menu instead.
|
||||||
|
|
||||||
|
#If using these 2 below change their values in line 510 & 511 aswell
|
||||||
|
popup_menu = { opacity = 0.8; }
|
||||||
|
dropdown_menu = { opacity = 0.8; }
|
||||||
|
|
||||||
|
|
||||||
|
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
|
||||||
|
# inactive-opacity-override = true
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
|
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
||||||
|
active-opacity = 1.0;
|
||||||
|
|
||||||
|
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
||||||
|
# inactive-dim = 0.0
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should always be considered focused.
|
||||||
|
# focus-exclude = []
|
||||||
|
focus-exclude = [
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
"class_g = 'Bar'", # lemonbar
|
||||||
|
"class_g = 'slop'" # maim
|
||||||
|
];
|
||||||
|
|
||||||
|
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
||||||
|
# inactive-dim-fixed = 1.0
|
||||||
|
|
||||||
|
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
|
||||||
|
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
|
||||||
|
# Note we don't make any guarantee about possible conflicts with other
|
||||||
|
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
|
||||||
|
# example:
|
||||||
|
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||||
|
#
|
||||||
|
# opacity-rule = []
|
||||||
|
opacity-rule = [
|
||||||
|
"80:class_g = 'Bar'", # lemonbar
|
||||||
|
#"100:class_g = 'slop'", # maim
|
||||||
|
"100:class_g = 'Alacritty'",
|
||||||
|
"80:class_g = 'Polybar'",
|
||||||
|
"100:class_g = 'code-oss'",
|
||||||
|
"100:class_g = 'Meld'",
|
||||||
|
"70:class_g = 'TelegramDesktop'",
|
||||||
|
"90:class_g = 'Joplin'",
|
||||||
|
"100:class_g = 'firefox'",
|
||||||
|
"100:class_g = 'Thunderbird'"
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Background-Blurring #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||||
|
# blur-method =
|
||||||
|
# blur-size = 12
|
||||||
|
#
|
||||||
|
# blur-deviation = false
|
||||||
|
|
||||||
|
# Blur background of semi-transparent / ARGB windows.
|
||||||
|
# Bad in performance, with driver-dependent behavior.
|
||||||
|
# The name of the switch may change without prior notifications.
|
||||||
|
#
|
||||||
|
# blur-background = true;
|
||||||
|
|
||||||
|
# Blur background of windows when the window frame is not opaque.
|
||||||
|
# Implies:
|
||||||
|
# blur-background
|
||||||
|
# Bad in performance, with driver-dependent behavior. The name may change.
|
||||||
|
#
|
||||||
|
# blur-background-frame = false;
|
||||||
|
|
||||||
|
|
||||||
|
# Use fixed blur strength rather than adjusting according to window opacity.
|
||||||
|
# blur-background-fixed = false;
|
||||||
|
|
||||||
|
|
||||||
|
# Specify the blur convolution kernel, with the following format:
|
||||||
|
# example:
|
||||||
|
# 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-kern = ''
|
||||||
|
# blur-kern = "3x3box";
|
||||||
|
|
||||||
|
blur: {
|
||||||
|
# requires: https://github.com/ibhagwan/picom
|
||||||
|
method = "kawase";
|
||||||
|
#method = "kernel";
|
||||||
|
strength = 7;
|
||||||
|
# deviation = 1.0;
|
||||||
|
# kernel = "11x11gaussian";
|
||||||
|
background = false;
|
||||||
|
background-frame = false;
|
||||||
|
background-fixed = false;
|
||||||
|
kern = "3x3box";
|
||||||
|
}
|
||||||
|
|
||||||
|
# Exclude conditions for background blur.
|
||||||
|
blur-background-exclude = [
|
||||||
|
#"window_type = 'dock'",
|
||||||
|
#"window_type = 'desktop'",
|
||||||
|
#"class_g = 'URxvt'",
|
||||||
|
#
|
||||||
|
# prevents picom from blurring the background
|
||||||
|
# when taking selection screenshot with `main`
|
||||||
|
# https://github.com/naelstrof/maim/issues/130
|
||||||
|
"class_g = 'slop'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# General Settings #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
|
||||||
|
# daemon = false
|
||||||
|
|
||||||
|
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
|
||||||
|
# `xrender` is the default one.
|
||||||
|
#
|
||||||
|
experimental-backends = true;
|
||||||
|
backend = "glx";
|
||||||
|
#backend = "xrender";
|
||||||
|
|
||||||
|
|
||||||
|
# Enable/disable VSync.
|
||||||
|
# vsync = false
|
||||||
|
vsync = true
|
||||||
|
|
||||||
|
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
|
||||||
|
# dbus = false
|
||||||
|
|
||||||
|
# Try to detect WM windows (a non-override-redirect window with no
|
||||||
|
# child that has 'WM_STATE') and mark them as active.
|
||||||
|
#
|
||||||
|
# mark-wmwin-focused = false
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
|
||||||
|
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
|
||||||
|
# mark-ovredir-focused = false
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
|
||||||
|
# Try to detect windows with rounded corners and don't consider them
|
||||||
|
# shaped windows. The accuracy is not very high, unfortunately.
|
||||||
|
#
|
||||||
|
# detect-rounded-corners = false
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
|
||||||
|
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
|
||||||
|
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
|
||||||
|
#
|
||||||
|
# detect-client-opacity = false
|
||||||
|
detect-client-opacity = true;
|
||||||
|
|
||||||
|
# Specify refresh rate of the screen. If not specified or 0, picom will
|
||||||
|
# try detecting this with X RandR extension.
|
||||||
|
#
|
||||||
|
# refresh-rate = 60
|
||||||
|
refresh-rate = 0
|
||||||
|
|
||||||
|
# Limit picom 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 =
|
||||||
|
|
||||||
|
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
|
||||||
|
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
|
||||||
|
# provided that the WM supports it.
|
||||||
|
#
|
||||||
|
# use-ewmh-active-win = false
|
||||||
|
|
||||||
|
# Unredirect all windows if a full-screen opaque window is detected,
|
||||||
|
# to maximize performance for full-screen windows. Known to cause flickering
|
||||||
|
# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious.
|
||||||
|
#
|
||||||
|
# unredir-if-possible = false
|
||||||
|
|
||||||
|
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
|
||||||
|
# unredir-if-possible-delay = 0
|
||||||
|
|
||||||
|
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
|
||||||
|
# unredir-if-possible-exclude = []
|
||||||
|
|
||||||
|
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
|
||||||
|
# in the same group focused at the same time.
|
||||||
|
#
|
||||||
|
# detect-transient = false
|
||||||
|
detect-transient = true
|
||||||
|
|
||||||
|
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
|
||||||
|
# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
|
||||||
|
# detect-transient is enabled, too.
|
||||||
|
#
|
||||||
|
# detect-client-leader = false
|
||||||
|
detect-client-leader = true
|
||||||
|
|
||||||
|
# Resize damaged region by a specific number of pixels.
|
||||||
|
# A positive value enlarges it while a negative one shrinks it.
|
||||||
|
# If the value is positive, those additional pixels will not be actually painted
|
||||||
|
# to screen, only used in blur calculation, and such. (Due to technical limitations,
|
||||||
|
# with use-damage, those pixels will still be incorrectly painted to screen.)
|
||||||
|
# Primarily used to fix the line corruption issues of blur,
|
||||||
|
# in which case you should use the blur radius value here
|
||||||
|
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
|
||||||
|
# with a 5x5 one you use `--resize-damage 2`, and so on).
|
||||||
|
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
|
||||||
|
#
|
||||||
|
# resize-damage = 1
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should be painted with inverted color.
|
||||||
|
# Resource-hogging, and is not well tested.
|
||||||
|
#
|
||||||
|
# invert-color-include = []
|
||||||
|
|
||||||
|
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
|
||||||
|
# Might cause incorrect opacity when rendering transparent content (but never
|
||||||
|
# practically happened) and may not work with blur-background.
|
||||||
|
# My tests show a 15% performance boost. Recommended.
|
||||||
|
#
|
||||||
|
# glx-no-stencil = false
|
||||||
|
|
||||||
|
# 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, xf86-video-intel, etc.).
|
||||||
|
# Recommended if it works.
|
||||||
|
#
|
||||||
|
# glx-no-rebind-pixmap = false
|
||||||
|
|
||||||
|
# Disable the use of damage information.
|
||||||
|
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
|
||||||
|
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
||||||
|
# The opposing option is use-damage
|
||||||
|
#
|
||||||
|
# no-use-damage = false
|
||||||
|
#use-damage = true (Causing Weird Black semi opaque rectangles when terminal is opened)
|
||||||
|
#Changing use-damage to false fixes the problem
|
||||||
|
use-damage = false
|
||||||
|
|
||||||
|
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
||||||
|
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
||||||
|
# with GLX backend for some users.
|
||||||
|
#
|
||||||
|
# xrender-sync-fence = false
|
||||||
|
|
||||||
|
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
|
||||||
|
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
|
||||||
|
# in the source tree for examples.
|
||||||
|
#
|
||||||
|
# glx-fshader-win = ''
|
||||||
|
|
||||||
|
# Force all windows to be painted with blending. Useful if you
|
||||||
|
# have a glx-fshader-win that could turn opaque pixels transparent.
|
||||||
|
#
|
||||||
|
# force-win-blend = false
|
||||||
|
|
||||||
|
# Do not use EWMH to detect fullscreen windows.
|
||||||
|
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
|
||||||
|
#
|
||||||
|
# no-ewmh-fullscreen = false
|
||||||
|
|
||||||
|
# Dimming bright windows so their brightness doesn't exceed this set value.
|
||||||
|
# Brightness of a window is estimated by averaging all pixels in the window,
|
||||||
|
# so this could comes with a performance hit.
|
||||||
|
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
|
||||||
|
#
|
||||||
|
# max-brightness = 1.0
|
||||||
|
|
||||||
|
# Make transparent windows clip other windows like non-transparent windows do,
|
||||||
|
# instead of blending on top of them.
|
||||||
|
#
|
||||||
|
# transparent-clipping = false
|
||||||
|
|
||||||
|
# Set the log level. Possible values are:
|
||||||
|
# "trace", "debug", "info", "warn", "error"
|
||||||
|
# in increasing level of importance. Case doesn't matter.
|
||||||
|
# If using the "TRACE" log level, it's better to log into a file
|
||||||
|
# using *--log-file*, since it can generate a huge stream of logs.
|
||||||
|
#
|
||||||
|
# log-level = "debug"
|
||||||
|
log-level = "info";
|
||||||
|
|
||||||
|
# Set the log file.
|
||||||
|
# If *--log-file* is never specified, logs will be written to stderr.
|
||||||
|
# Otherwise, logs will to written to the given file, though some of the early
|
||||||
|
# logs might still be written to the stderr.
|
||||||
|
# When setting this option from the config file, it is recommended to use an absolute path.
|
||||||
|
#
|
||||||
|
# log-file = '/path/to/your/log/file'
|
||||||
|
|
||||||
|
# Show all X errors (for debugging)
|
||||||
|
# show-all-xerrors = false
|
||||||
|
|
||||||
|
# Write process ID to a file.
|
||||||
|
# write-pid-path = '/path/to/your/log/file'
|
||||||
|
|
||||||
|
# Window type settings
|
||||||
|
#
|
||||||
|
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
|
||||||
|
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
|
||||||
|
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
|
||||||
|
# "tooltip", "notification", "combo", and "dnd".
|
||||||
|
#
|
||||||
|
# Following per window-type options are available: ::
|
||||||
|
#
|
||||||
|
# fade, shadow:::
|
||||||
|
# Controls window-type-specific shadow and fade settings.
|
||||||
|
#
|
||||||
|
# opacity:::
|
||||||
|
# Controls default opacity of the window type.
|
||||||
|
#
|
||||||
|
# focus:::
|
||||||
|
# Controls whether the window of this type is to be always considered focused.
|
||||||
|
# (By default, all window types except "normal" and "dialog" has this on.)
|
||||||
|
#
|
||||||
|
# full-shadow:::
|
||||||
|
# Controls whether shadow is drawn under the parts of the window that you
|
||||||
|
# normally won't be able to see. Useful when the window has parts of it
|
||||||
|
# transparent, and you want shadows in those areas.
|
||||||
|
#
|
||||||
|
# redir-ignore:::
|
||||||
|
# Controls whether this type of windows should cause screen to become
|
||||||
|
# redirected again after been unredirected. If you have unredir-if-possible
|
||||||
|
# set, and doesn't want certain window to cause unnecessary screen redirection,
|
||||||
|
# you can set this to `true`.
|
||||||
|
#
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
normal = { fade = false; shadow = false; }
|
||||||
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||||
|
dock = { shadow = false; }
|
||||||
|
dnd = { shadow = false; }
|
||||||
|
popup_menu = { opacity = 0.8; }
|
||||||
|
dropdown_menu = { opacity = 0.8; }
|
||||||
|
};
|
||||||
+106
-69
@@ -2,115 +2,152 @@ alabaster==0.7.12
|
|||||||
apipkg==1.5
|
apipkg==1.5
|
||||||
appdirs==1.4.4
|
appdirs==1.4.4
|
||||||
arandr==0.1.10
|
arandr==0.1.10
|
||||||
asn1crypto==1.4.0
|
argh==0.26.2
|
||||||
astroid==2.4.2
|
astroid==2.6.2
|
||||||
attrs==20.3.0
|
attrs==21.2.0
|
||||||
Babel==2.9.0
|
Babel==2.9.1
|
||||||
backcall==0.2.0
|
backcall==0.2.0
|
||||||
btrfsutil==5.9
|
borgbackup==1.1.17
|
||||||
|
bsddb3==6.2.9
|
||||||
|
btrfsutil==5.14.2
|
||||||
CacheControl==0.12.6
|
CacheControl==0.12.6
|
||||||
cairocffi==1.2.0
|
cairocffi==1.2.0
|
||||||
certifi==2020.6.20
|
certifi==2021.5.30
|
||||||
cffi==1.14.4
|
cffi==1.14.6
|
||||||
chardet==3.0.4
|
chardet==4.0.0
|
||||||
|
charset-normalizer==2.0.3
|
||||||
colorama==0.4.4
|
colorama==0.4.4
|
||||||
contextlib2==0.6.0.post1
|
contextlib2==21.6.0
|
||||||
cryptography==3.3.1
|
cryptography==35.0.0
|
||||||
cupshelpers==1.0
|
cupshelpers==1.0
|
||||||
decorator==4.4.2
|
cycler==0.10.0
|
||||||
distlib==0.3.1
|
debugpy==1.3.0
|
||||||
distro==1.5.0
|
decorator==5.0.9
|
||||||
|
distlib==0.3.3
|
||||||
|
distro==1.6.0
|
||||||
|
dnspython==2.1.0
|
||||||
docopt==0.6.2
|
docopt==0.6.2
|
||||||
docutils==0.16
|
docutils==0.17.1
|
||||||
evdev==1.3.0
|
entrypoints==0.3
|
||||||
gscreenshot==2.13.0
|
evdev==1.4.0
|
||||||
|
GDAL==3.3.1
|
||||||
|
gramps==5.1.4
|
||||||
|
greenlet==1.1.2
|
||||||
|
gscreenshot==2.16.1
|
||||||
html5lib==1.1
|
html5lib==1.1
|
||||||
idna==2.10
|
idna==3.2
|
||||||
imagesize==1.2.0
|
imagesize==1.2.0
|
||||||
importlib-metadata==3.3.0
|
importlib-metadata==4.6.1
|
||||||
iniconfig==1.1.1
|
iniconfig==1.1.1
|
||||||
ipykernel==5.3.4
|
ipykernel==6.0.2
|
||||||
ipython==7.19.0
|
ipython==7.25.0
|
||||||
ipython-genutils==0.2.0
|
ipython-genutils==0.2.0
|
||||||
isort==5.6.4
|
isort==5.9.2
|
||||||
jedi==0.17.2
|
jedi==0.18.0
|
||||||
Jinja2==2.11.2
|
jeepney==0.7.1
|
||||||
jupyter-client==6.1.7
|
Jinja2==3.0.1
|
||||||
jupyter-core==4.7.0
|
jupyter-client==6.2.0
|
||||||
|
jupyter-core==4.7.1
|
||||||
|
keyring==23.0.1
|
||||||
keyutils==0.6
|
keyutils==0.6
|
||||||
lazy-object-proxy==1.4.3
|
kiwisolver==1.3.2
|
||||||
|
lazy-object-proxy==1.6.0
|
||||||
lensfun==0.3.95
|
lensfun==0.3.95
|
||||||
louis==3.16.0
|
lightdm-gtk-greeter-settings==1.2.2
|
||||||
lutris==0.5.8.1
|
louis==3.19.0
|
||||||
lxml==4.6.2
|
lutris==0.5.9.1
|
||||||
MarkupSafe==1.1.1
|
lxml==4.6.3
|
||||||
|
Markdown==3.3.4
|
||||||
|
MarkupSafe==2.0.1
|
||||||
|
matplotlib==3.4.2
|
||||||
|
matplotlib-inline==0.1.2
|
||||||
mccabe==0.6.1
|
mccabe==0.6.1
|
||||||
meld==3.20.2
|
meld==3.20.4
|
||||||
more-itertools==8.6.0
|
more-itertools==8.8.0
|
||||||
msgpack==1.0.2
|
msgpack==1.0.2
|
||||||
numpy==1.19.4
|
neovim-remote==2.4.0
|
||||||
|
nest-asyncio==1.5.1
|
||||||
|
nordnm==0.8.1
|
||||||
|
numpy==1.21.1
|
||||||
ordered-set==4.0.2
|
ordered-set==4.0.2
|
||||||
packaging==20.8
|
OWSLib==0.24.1
|
||||||
parso==0.7.1
|
packaging==21.0
|
||||||
pep517==0.9.1
|
parso==0.8.2
|
||||||
|
pathtools==0.1.2
|
||||||
|
pep517==0.11.0
|
||||||
pexpect==4.8.0
|
pexpect==4.8.0
|
||||||
pickleshare==0.7.5
|
pickleshare==0.7.5
|
||||||
pikaur==1.6.15
|
pikaur==1.8
|
||||||
Pillow==8.0.1
|
Pillow==8.3.1
|
||||||
|
Pivy==0.6.6
|
||||||
pluggy==0.13.1
|
pluggy==0.13.1
|
||||||
ply==3.11
|
ply==3.11
|
||||||
pockets==0.9.1
|
pockets==0.9.1
|
||||||
powerline-shell==0.7.0
|
powerline-shell==0.7.0
|
||||||
progress==1.5
|
progress==1.6
|
||||||
prompt-toolkit==3.0.8
|
prompt-toolkit==3.0.19
|
||||||
psutil==5.8.0
|
psutil==5.8.0
|
||||||
ptyprocess==0.6.0
|
psycopg2==2.9.1
|
||||||
|
ptyprocess==0.7.0
|
||||||
|
pwquality==1.4.4
|
||||||
py==1.10.0
|
py==1.10.0
|
||||||
pyalpm==0.9.2
|
pyalpm==0.10.6
|
||||||
pycairo==1.20.0
|
pycairo==1.20.1
|
||||||
pycparser==2.20
|
pycparser==2.20
|
||||||
pycups==2.0.1
|
pycups==2.0.1
|
||||||
pycurl==7.43.0.6
|
pycurl==7.44.1
|
||||||
Pygments==2.7.3
|
Pygments==2.9.0
|
||||||
PyGObject==3.38.0
|
PyGObject==3.40.1
|
||||||
pylint==2.6.0
|
pylint==2.9.3
|
||||||
|
pympress==1.6.1
|
||||||
|
pynvim==0.4.3
|
||||||
pyOpenSSL==20.0.1
|
pyOpenSSL==20.0.1
|
||||||
pyparsing==2.4.7
|
pyparsing==2.4.7
|
||||||
PyQt5==5.15.2
|
pyproj==3.1.0
|
||||||
PyQt5-sip==12.8.1
|
PyQt5==5.15.5
|
||||||
|
PyQt5-sip==12.9.0
|
||||||
pyserial==3.5
|
pyserial==3.5
|
||||||
pytest==6.2.1
|
PySide2==5.15.2
|
||||||
python-dateutil==2.8.1
|
pytest==6.2.5
|
||||||
python-magic==0.4.18
|
python-dateutil==2.8.2
|
||||||
pytz==2020.5
|
python-magic==0.4.24
|
||||||
PyYAML==5.3.1
|
python-vlc==3.0.12118
|
||||||
pyzmq==20.0.0
|
pytz==2021.1
|
||||||
qtile==0.16.1
|
PyYAML==5.4.1
|
||||||
requests==2.25.1
|
pyzmq==22.1.0
|
||||||
resolvelib==0.5.4
|
QScintilla==2.13.1
|
||||||
|
qtile==0.18.0
|
||||||
|
requests==2.26.0
|
||||||
|
resolvelib==0.7.1
|
||||||
retrying==1.3.3
|
retrying==1.3.3
|
||||||
scipy==1.6.0
|
scipy==1.7.1
|
||||||
|
SecretStorage==3.3.1
|
||||||
Shapely==1.7.1
|
Shapely==1.7.1
|
||||||
sip==4.19.24
|
shiboken2==5.15.2
|
||||||
six==1.15.0
|
sip==6.1.1
|
||||||
snowballstemmer==2.0.0
|
six==1.16.0
|
||||||
Sphinx==3.4.2
|
snowballstemmer==2.1.0
|
||||||
|
Sphinx==4.1.1
|
||||||
sphinxcontrib-applehelp==1.0.2
|
sphinxcontrib-applehelp==1.0.2
|
||||||
sphinxcontrib-devhelp==1.0.2
|
sphinxcontrib-devhelp==1.0.2
|
||||||
sphinxcontrib-htmlhelp==1.0.3
|
sphinxcontrib-htmlhelp==2.0.0
|
||||||
sphinxcontrib-jsmath==1.0.1
|
sphinxcontrib-jsmath==1.0.1
|
||||||
sphinxcontrib-napoleon==0.7
|
sphinxcontrib-napoleon==0.7
|
||||||
sphinxcontrib-qthelp==1.0.3
|
sphinxcontrib-qthelp==1.0.3
|
||||||
sphinxcontrib-serializinghtml==1.1.4
|
sphinxcontrib-serializinghtml==1.1.5
|
||||||
team==1.0
|
team==1.0
|
||||||
toml==0.10.2
|
toml==0.10.2
|
||||||
|
tomli==1.0.4
|
||||||
tornado==6.1
|
tornado==6.1
|
||||||
traitlets==5.0.5
|
traitlets==5.0.5
|
||||||
udiskie==2.2.0
|
trimesh==3.9.23
|
||||||
urllib3==1.26.1
|
udiskie==2.3.3
|
||||||
|
urllib3==1.26.7
|
||||||
|
watchdog==0.10.7
|
||||||
wcwidth==0.2.5
|
wcwidth==0.2.5
|
||||||
webencodings==0.5.1
|
webencodings==0.5.1
|
||||||
wrapt==1.12.1
|
wrapt==1.12.1
|
||||||
wxPython==4.0.7.post2
|
wxPython==4.1.1
|
||||||
xcffib==0.11.1
|
xcffib==0.11.1
|
||||||
zipp==3.4.0
|
youtube-dl==2021.6.6
|
||||||
|
zipp==3.6.0
|
||||||
|
|||||||
+89
-10
@@ -4,60 +4,100 @@ alsa-tools
|
|||||||
alsa-utils
|
alsa-utils
|
||||||
amd-ucode
|
amd-ucode
|
||||||
android-studio
|
android-studio
|
||||||
|
android-tools
|
||||||
arandr
|
arandr
|
||||||
|
arduino
|
||||||
|
arduino-avr-core
|
||||||
|
arduino-cli
|
||||||
|
arduino-docs
|
||||||
arm-none-eabi-binutils
|
arm-none-eabi-binutils
|
||||||
arm-none-eabi-gcc
|
arm-none-eabi-gcc
|
||||||
arm-none-eabi-gdb
|
arm-none-eabi-gdb
|
||||||
arm-none-eabi-newlib
|
arm-none-eabi-newlib
|
||||||
autoconf
|
autoconf
|
||||||
|
autocutsel
|
||||||
automake
|
automake
|
||||||
balena-etcher
|
barrier
|
||||||
base
|
base
|
||||||
bdf-unifont
|
bdf-unifont
|
||||||
|
biber
|
||||||
binutils
|
binutils
|
||||||
bison
|
bison
|
||||||
bitwarden-rofi
|
bitwarden-rofi
|
||||||
breeze-gtk
|
borg
|
||||||
breeze-icons
|
|
||||||
capitaine-cursors
|
capitaine-cursors
|
||||||
chromium
|
cdrtools
|
||||||
|
cmatrix
|
||||||
cronie
|
cronie
|
||||||
cups
|
cups
|
||||||
cura
|
cura
|
||||||
|
davfs2
|
||||||
discord
|
discord
|
||||||
dnsmasq
|
dnsmasq
|
||||||
dosfstools
|
dosfstools
|
||||||
|
downgrade
|
||||||
drawio-desktop
|
drawio-desktop
|
||||||
dunst
|
dunst
|
||||||
efibootmgr
|
efibootmgr
|
||||||
eog
|
eog
|
||||||
evince
|
evince
|
||||||
exa
|
exa
|
||||||
|
exfat-utils
|
||||||
fakeroot
|
fakeroot
|
||||||
|
ffmpegthumbnailer
|
||||||
firefox
|
firefox
|
||||||
|
flatpak
|
||||||
flex
|
flex
|
||||||
|
freecad
|
||||||
gcc
|
gcc
|
||||||
gimp
|
gimp
|
||||||
git
|
git
|
||||||
gitg
|
gitg
|
||||||
|
gnome-disk-utility
|
||||||
gnome-keyring
|
gnome-keyring
|
||||||
|
goocanvas
|
||||||
|
gramps
|
||||||
grub
|
grub
|
||||||
|
gruvbox-dark-icons-gtk
|
||||||
gscreenshot
|
gscreenshot
|
||||||
|
gtk-theme-arc-gruvbox-git
|
||||||
gutenprint
|
gutenprint
|
||||||
gvim
|
gvfs
|
||||||
|
gvfs-smb
|
||||||
htop
|
htop
|
||||||
inkscape
|
inkscape
|
||||||
|
jack2
|
||||||
jre-openjdk
|
jre-openjdk
|
||||||
jre8-openjdk
|
jre8-openjdk
|
||||||
|
kdeconnect
|
||||||
|
kdenlive
|
||||||
kicad
|
kicad
|
||||||
kicad-library
|
kicad-library
|
||||||
kicad-library-3d
|
kicad-library-3d
|
||||||
|
lib32-giflib
|
||||||
|
lib32-gnutls
|
||||||
|
lib32-gst-plugins-base-libs
|
||||||
|
lib32-gtk3
|
||||||
|
lib32-libpulse
|
||||||
|
lib32-libva
|
||||||
|
lib32-libxcomposite
|
||||||
|
lib32-libxinerama
|
||||||
|
lib32-libxslt
|
||||||
|
lib32-mpg123
|
||||||
lib32-nvidia-utils
|
lib32-nvidia-utils
|
||||||
|
lib32-ocl-icd
|
||||||
|
lib32-openal
|
||||||
|
lib32-v4l-utils
|
||||||
libgnome-keyring
|
libgnome-keyring
|
||||||
libnotify
|
libnotify
|
||||||
libreoffice-still
|
libreoffice-still
|
||||||
|
libreoffice-still-de
|
||||||
|
lightdm
|
||||||
|
lightdm-gtk-greeter
|
||||||
|
lightdm-gtk-greeter-settings
|
||||||
linux
|
linux
|
||||||
linux-firmware
|
linux-firmware
|
||||||
|
linux-lts
|
||||||
linux-zen
|
linux-zen
|
||||||
lshw
|
lshw
|
||||||
lutris
|
lutris
|
||||||
@@ -66,20 +106,30 @@ lxsession
|
|||||||
m4
|
m4
|
||||||
make
|
make
|
||||||
meld
|
meld
|
||||||
|
minecraft-launcher
|
||||||
mlocate
|
mlocate
|
||||||
moc
|
moc
|
||||||
mtools
|
mtools
|
||||||
ncdu
|
ncdu
|
||||||
neofetch
|
neofetch
|
||||||
|
neovim
|
||||||
|
nerd-fonts-complete
|
||||||
|
network-manager-applet
|
||||||
networkmanager
|
networkmanager
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
nitrogen
|
nitrogen
|
||||||
nmap
|
nmap
|
||||||
|
nordnm
|
||||||
|
npm
|
||||||
|
ntfs-3g
|
||||||
numlockx
|
numlockx
|
||||||
nvidia
|
nvidia
|
||||||
|
obs-studio
|
||||||
|
openmotif
|
||||||
openocd
|
openocd
|
||||||
openvpn
|
openvpn
|
||||||
os-prober
|
os-prober
|
||||||
|
osm-gps-map
|
||||||
p3x-onenote
|
p3x-onenote
|
||||||
p7zip
|
p7zip
|
||||||
pamixer
|
pamixer
|
||||||
@@ -88,18 +138,23 @@ paprefs
|
|||||||
patch
|
patch
|
||||||
pavucontrol
|
pavucontrol
|
||||||
pcmanfm-gtk3
|
pcmanfm-gtk3
|
||||||
picom
|
pdftk
|
||||||
|
picom-jonaburg-git
|
||||||
pikaur
|
pikaur
|
||||||
pkgconf
|
pkgconf
|
||||||
playerctl
|
playerctl
|
||||||
|
playonlinux
|
||||||
pulseaudio
|
pulseaudio
|
||||||
pulseaudio-alsa
|
pulseaudio-alsa
|
||||||
pulseaudio-ctl
|
pulseaudio-ctl
|
||||||
pycharm-community-edition
|
|
||||||
python-pip
|
python-pip
|
||||||
python-psutil
|
python-psutil
|
||||||
|
python-pympress
|
||||||
|
python-pynvim
|
||||||
python-pytest
|
python-pytest
|
||||||
python-subprocess2
|
python-subprocess2
|
||||||
|
qalculate-gtk
|
||||||
|
qgis
|
||||||
qt5-styleplugins
|
qt5-styleplugins
|
||||||
qtile
|
qtile
|
||||||
rapidsvn
|
rapidsvn
|
||||||
@@ -107,17 +162,25 @@ redshift
|
|||||||
redshiftgui-bin
|
redshiftgui-bin
|
||||||
rofi
|
rofi
|
||||||
rofi-calc
|
rofi-calc
|
||||||
|
rpi-imager
|
||||||
|
shotwell
|
||||||
|
signal-desktop
|
||||||
skypeforlinux-stable-bin
|
skypeforlinux-stable-bin
|
||||||
slack-desktop
|
slack-desktop
|
||||||
|
smbclient
|
||||||
|
spacenavd
|
||||||
spotify
|
spotify
|
||||||
|
sshpass
|
||||||
steam
|
steam
|
||||||
stlink
|
stlink
|
||||||
stow
|
stow
|
||||||
subversion
|
subversion
|
||||||
sudo
|
sudo
|
||||||
|
surf
|
||||||
system-config-printer
|
system-config-printer
|
||||||
teams
|
teams-for-linux
|
||||||
termite
|
teamviewer
|
||||||
|
telegram-desktop
|
||||||
texinfo
|
texinfo
|
||||||
texlive-bibtexextra
|
texlive-bibtexextra
|
||||||
texlive-core
|
texlive-core
|
||||||
@@ -131,8 +194,12 @@ texlive-pictures
|
|||||||
texlive-pstricks
|
texlive-pstricks
|
||||||
texlive-publishers
|
texlive-publishers
|
||||||
texlive-science
|
texlive-science
|
||||||
|
texlive-tikz-uml
|
||||||
thunderbird
|
thunderbird
|
||||||
timeshift
|
timeshift
|
||||||
|
tor-browser
|
||||||
|
transmission-gtk
|
||||||
|
tree
|
||||||
ttf-dseg
|
ttf-dseg
|
||||||
ttf-liberation
|
ttf-liberation
|
||||||
ttf-ubuntu-font-family
|
ttf-ubuntu-font-family
|
||||||
@@ -145,9 +212,17 @@ virtualbox
|
|||||||
virtualbox-host-modules-arch
|
virtualbox-host-modules-arch
|
||||||
visual-studio-code-bin
|
visual-studio-code-bin
|
||||||
vlc
|
vlc
|
||||||
|
vlc-pause-click-plugin
|
||||||
wd719x-firmware
|
wd719x-firmware
|
||||||
|
wget
|
||||||
|
whatsapp-for-linux
|
||||||
which
|
which
|
||||||
wine
|
wine-gecko
|
||||||
|
wine-mono
|
||||||
|
wine-staging
|
||||||
|
winetricks
|
||||||
|
wireguard-tools
|
||||||
|
woeusb-gui
|
||||||
xarchiver
|
xarchiver
|
||||||
xcb-util-cursor
|
xcb-util-cursor
|
||||||
xclip
|
xclip
|
||||||
@@ -204,5 +279,9 @@ xorg-xwd
|
|||||||
xorg-xwininfo
|
xorg-xwininfo
|
||||||
xorg-xwud
|
xorg-xwud
|
||||||
xterm
|
xterm
|
||||||
|
youtube-dl
|
||||||
|
zathura
|
||||||
|
zathura-pdf-poppler
|
||||||
zip
|
zip
|
||||||
|
zsh
|
||||||
zvbi
|
zvbi
|
||||||
|
|||||||
@@ -3,15 +3,15 @@ from powerline_shell.themes.default import DefaultColor
|
|||||||
|
|
||||||
|
|
||||||
class Color(DefaultColor):
|
class Color(DefaultColor):
|
||||||
USERNAME_FG = 250
|
USERNAME_FG = 230
|
||||||
USERNAME_BG = 240
|
USERNAME_BG = 240
|
||||||
USERNAME_ROOT_BG = 124
|
USERNAME_ROOT_BG = 124
|
||||||
|
|
||||||
HOSTNAME_FG = 250
|
HOSTNAME_FG = 230
|
||||||
HOSTNAME_BG = 238
|
HOSTNAME_BG = 238
|
||||||
|
|
||||||
HOME_SPECIAL_DISPLAY = True
|
HOME_SPECIAL_DISPLAY = True
|
||||||
HOME_BG = 31 # blueish
|
HOME_BG = 4 # blueish
|
||||||
HOME_FG = 15 # white
|
HOME_FG = 15 # white
|
||||||
PATH_BG = 237 # dark grey
|
PATH_BG = 237 # dark grey
|
||||||
PATH_FG = 250 # light grey
|
PATH_FG = 250 # light grey
|
||||||
@@ -68,4 +68,4 @@ class Color(DefaultColor):
|
|||||||
AWS_PROFILE_BG = 238
|
AWS_PROFILE_BG = 238
|
||||||
|
|
||||||
TIME_FG = 250
|
TIME_FG = 250
|
||||||
TIME_BG = 238
|
TIME_BG = 238
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import re
|
|||||||
from libqtile import widget, bar
|
from libqtile import widget, bar
|
||||||
|
|
||||||
#region Custom_Memory
|
#region Custom_Memory
|
||||||
class MemoryC(widget.base.ThreadedPollText):
|
class MemoryC(widget.base.ThreadPoolText):
|
||||||
orientations = widget.base.ORIENTATION_HORIZONTAL
|
orientations = widget.base.ORIENTATION_HORIZONTAL
|
||||||
defaults = [
|
defaults = [
|
||||||
("format", "{MemUsed}GB/{MemTotal}GB", "Formatting for field names."),
|
("format", "{MemUsed}GB/{MemTotal}GB", "Formatting for field names."),
|
||||||
@@ -13,13 +13,9 @@ class MemoryC(widget.base.ThreadedPollText):
|
|||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, **config):
|
def __init__(self, **config):
|
||||||
super().__init__(**config)
|
super().__init__("", **config)
|
||||||
self.add_defaults(MemoryC.defaults)
|
self.add_defaults(MemoryC.defaults)
|
||||||
|
|
||||||
def tick(self):
|
|
||||||
self.update(self.poll())
|
|
||||||
return self.update_interval
|
|
||||||
|
|
||||||
def poll(self):
|
def poll(self):
|
||||||
mem = psutil.virtual_memory()
|
mem = psutil.virtual_memory()
|
||||||
swap = psutil.swap_memory()
|
swap = psutil.swap_memory()
|
||||||
@@ -108,9 +104,9 @@ class Mic(widget.base._TextBox):
|
|||||||
def _update_drawer(self):
|
def _update_drawer(self):
|
||||||
if self.emoji:
|
if self.emoji:
|
||||||
if self.volume > 0:
|
if self.volume > 0:
|
||||||
self.text = ''
|
self.text = ''
|
||||||
elif self.volume <= 0:
|
elif self.volume <= 0:
|
||||||
self.text = ''
|
self.text = ''
|
||||||
else:
|
else:
|
||||||
if self.volume == -1:
|
if self.volume == -1:
|
||||||
self.text = 'M'
|
self.text = 'M'
|
||||||
@@ -147,4 +143,4 @@ class Mic(widget.base._TextBox):
|
|||||||
def cmd_mute(self):
|
def cmd_mute(self):
|
||||||
# Emulate button press.
|
# Emulate button press.
|
||||||
self.button_press(0, 0, BUTTON_MUTE)
|
self.button_press(0, 0, BUTTON_MUTE)
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ groups.append(
|
|||||||
term + ' -e htop',
|
term + ' -e htop',
|
||||||
),
|
),
|
||||||
DropDown(
|
DropDown(
|
||||||
'sound',[[elektronik:Protokolle]]
|
'sound',
|
||||||
'pavucontrol'[[elektronik:Protokolle]]
|
'pavucontrol'
|
||||||
),
|
),
|
||||||
DropDown(
|
DropDown(
|
||||||
'filemanager',
|
'filemanager',
|
||||||
|
|||||||
@@ -60,9 +60,7 @@ def Left_widgets(size,fontsize,prompt=False):
|
|||||||
urgent_alert_method='block',
|
urgent_alert_method='block',
|
||||||
urgent_border = red_color,
|
urgent_border = red_color,
|
||||||
),
|
),
|
||||||
widget.Spacer(),
|
|
||||||
widget.WindowName(fontsize=fontsize-2),
|
widget.WindowName(fontsize=fontsize-2),
|
||||||
widget.Spacer(),
|
|
||||||
]
|
]
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ redshift-gtk -t 6500:3600 &
|
|||||||
udiskie -t &
|
udiskie -t &
|
||||||
picom -b --experimental-backend &
|
picom -b --experimental-backend &
|
||||||
cbatticon &
|
cbatticon &
|
||||||
nm-applet &
|
nm-applet &
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import subprocess
|
||||||
|
|
||||||
from libqtile import layout, bar, widget, hook
|
from libqtile import layout, bar, widget, hook
|
||||||
from libqtile.config import Key, Drag, Click, Group, Screen, ScratchPad, DropDown
|
from libqtile.config import Key, Drag, Click, Group, Screen, ScratchPad, DropDown
|
||||||
@@ -17,15 +18,8 @@ from Screens import screens
|
|||||||
#region Hooks
|
#region Hooks
|
||||||
@hook.subscribe.startup_once
|
@hook.subscribe.startup_once
|
||||||
def autostart():
|
def autostart():
|
||||||
processes = [
|
home = os.path.expanduser('~/.config/qtile/autostart.sh')
|
||||||
['nitrogen','--restore'],
|
subprocess.call([home])
|
||||||
['dunst'],
|
|
||||||
['nextcloud'],
|
|
||||||
['redshift-gtk'],
|
|
||||||
['udiskie']
|
|
||||||
]
|
|
||||||
for process in processes:
|
|
||||||
subprocess.Popen(process)
|
|
||||||
|
|
||||||
#region miscelanious
|
#region miscelanious
|
||||||
dgroups_key_binder = None
|
dgroups_key_binder = None
|
||||||
|
|||||||
@@ -1,34 +1,36 @@
|
|||||||
term = 'termite'
|
term = 'alacritty'
|
||||||
focus_color = '#bd93f9'
|
focus_color = '#076678'
|
||||||
border_width = 2
|
border_width = 2
|
||||||
|
window_margin = 5
|
||||||
mod = 'mod4'
|
mod = 'mod4'
|
||||||
hotkey_file='/home/paul/Hotkeys'
|
hotkey_file='/home/paul/Hotkeys'
|
||||||
main_screen_res = [3840,1440]
|
main_screen_res = [3440,1440]
|
||||||
top_screen_res = [1440,780]
|
top_screen_res = [1440,900]
|
||||||
|
|
||||||
#region colors
|
#region colors
|
||||||
light_foreground_color = ['#f8f8f2','#f8f8f2']
|
light_foreground_color = ['#fbf1c7','#fbf1c7']
|
||||||
dark_foreground_color = ['#282a36','#282a36']
|
dark_foreground_color = ['#282828','#282828']
|
||||||
background_color0 = ['#000000','#000000']
|
background_color0 = ['#1d2021','#1d2021']
|
||||||
background_color8 = ['#4d4d4d','#4d4d4d']
|
background_color8 = ['#7c6f64','#7c6f64']
|
||||||
base_color = ['#101010','#101010']
|
base_color = background_color0
|
||||||
# red
|
# red
|
||||||
red_color = ['#df253f','#df253f']
|
red_color = ['#cc241d','#cc241d']
|
||||||
light_red_color = ['#ff5555','#ff5555']
|
light_red_color = ['#fb4934','#fb4934']
|
||||||
# green
|
# green
|
||||||
green_color = ['#53a93f','#53a93f']
|
green_color = ['#98971a','#98971a']
|
||||||
light_green_color = ['#50fa7b','#50fa7b']
|
light_green_color = ['#b8bb26','#b8bb26']
|
||||||
#orange
|
#orange
|
||||||
orange_color = ['#f57900','#f57900']
|
orange_color = ['#d65d0e','#d65d0e']
|
||||||
# yellow
|
# yellow
|
||||||
yellow_color = ['#f1fa8c','#f1fa8c']
|
yellow_color = ['#d79921','#d79921']
|
||||||
|
light_yellow_color = ['#fabd2f','#fabd2f']
|
||||||
#blue
|
#blue
|
||||||
blue_color = ['#7197e7','#7197e7']
|
blue_color = ['#076678','#076678']
|
||||||
# purple
|
# purple
|
||||||
purple_color = ['#bd93f9','#bd93f9']
|
purple_color = ['#b16286','#b16286']
|
||||||
light_purple_color = ['#caa9fa','#caa9fa']
|
light_purple_color = ['#d3869b','#d3869b']
|
||||||
# magenta
|
# magenta
|
||||||
magenta_color = ['#ff79c6','#ff79c6']
|
magenta_color = ['#ff79c6','#ff79c6']
|
||||||
# cyan
|
# cyan
|
||||||
cyan_color = ['#8be9fd','#8be9fd']
|
cyan_color = ['#8be9fd','#8be9fd']
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Executable
+2
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
scrot -s '/tmp/screenshots/%F_%T_$wx$h.png' -e 'echo $f | xclip -selection clipboard -target text/uri-list -i'
|
||||||
@@ -1,29 +1,6 @@
|
|||||||
# This is a test file for anything.
|
# This is a test file for anything.
|
||||||
screens = []
|
import os
|
||||||
main_screen_res = [3840,1440]
|
|
||||||
top_screen_res = [1440,780]
|
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import re
|
|
||||||
import numpy as np
|
|
||||||
|
|
||||||
cmd = ['xrandr']
|
home = os.path.expanduser('~/.config/qtile/autostart.sh')
|
||||||
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
|
subprocess.call([home])
|
||||||
resolution_string, junk = p.communicate()
|
|
||||||
p.stdout.close()
|
|
||||||
screen_resolutions = [np.array(screen_res.split('x')).astype(np.int) for screen_res in re.findall('[0-9]+x[0-9]+(?=[^\\\\n]*\*)',str(resolution_string))]
|
|
||||||
number_of_screens = len(screen_resolutions)
|
|
||||||
max_width = max(screen_resolutions, key=lambda res: res[0])[0]
|
|
||||||
defined_main_window = False
|
|
||||||
for width, height in screen_resolutions:
|
|
||||||
if width == main_screen_res[0] and height == main_screen_res[1]:
|
|
||||||
screens+=['main_screen']
|
|
||||||
defined_main_window = True
|
|
||||||
elif width == top_screen_res[0] and height == top_screen_res[1]:
|
|
||||||
screens+=['top_screen']
|
|
||||||
elif width == max_width and not defined_main_window:
|
|
||||||
screens+=['laptop_screen']
|
|
||||||
defined_main_window = True
|
|
||||||
else:
|
|
||||||
screens+=['peripheral_screen']
|
|
||||||
print(screens)
|
|
||||||
+58
-118
@@ -1,122 +1,62 @@
|
|||||||
/*Dracula theme based on the Purple official rofi theme*/
|
/* ==========================================================================
|
||||||
|
Rofi color theme
|
||||||
|
|
||||||
|
Based on the Gruvbox color scheme for Vim by morhetz
|
||||||
|
https://github.com/morhetz/gruvbox
|
||||||
|
|
||||||
|
File: gruvbox-dark-hard.rasi
|
||||||
|
Desc: Gruvbox dark (hard contrast) color theme for Rofi
|
||||||
|
Author: bardisty <b@bah.im>
|
||||||
|
Source: https://github.com/bardisty/gruvbox-rofi
|
||||||
|
Modified: Mon Feb 12 2018 06:04:26 PST -0800
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font: "Ubuntu Mono 16";
|
font: "Ubuntu Mono Nerd Font 16";
|
||||||
foreground: #f8f8f2;
|
/* Theme settings */
|
||||||
background-color: #282a36;
|
highlight: bold italic;
|
||||||
active-background: #6272a4;
|
scrollbar: true;
|
||||||
urgent-background: #ff5555;
|
|
||||||
selected-background: @active-background;
|
/* Gruvbox dark colors */
|
||||||
selected-urgent-background: @urgent-background;
|
gruvbox-dark-bg0-hard: #1d2021;
|
||||||
selected-active-background: @active-background;
|
gruvbox-dark-bg0: #282828;
|
||||||
separatorcolor: @active-background;
|
gruvbox-dark-bg2: #504945;
|
||||||
bordercolor: @active-background;
|
gruvbox-dark-fg0: #fbf1c7;
|
||||||
|
gruvbox-dark-fg1: #ebdbb2;
|
||||||
|
gruvbox-dark-red-dark: #cc241d;
|
||||||
|
gruvbox-dark-red-light: #fb4934;
|
||||||
|
gruvbox-dark-yellow-dark: #d79921;
|
||||||
|
gruvbox-dark-yellow-light: #fabd2f;
|
||||||
|
gruvbox-dark-gray: #a89984;
|
||||||
|
|
||||||
|
/* Theme colors */
|
||||||
|
background: @gruvbox-dark-bg0-hard;
|
||||||
|
background-color: @background;
|
||||||
|
foreground: @gruvbox-dark-fg1;
|
||||||
|
border-color: @gruvbox-dark-gray;
|
||||||
|
separatorcolor: @border-color;
|
||||||
|
scrollbar-handle: @border-color;
|
||||||
|
|
||||||
|
normal-background: @background;
|
||||||
|
normal-foreground: @foreground;
|
||||||
|
alternate-normal-background: @gruvbox-dark-bg0;
|
||||||
|
alternate-normal-foreground: @foreground;
|
||||||
|
selected-normal-background: @gruvbox-dark-bg2;
|
||||||
|
selected-normal-foreground: @gruvbox-dark-fg0;
|
||||||
|
|
||||||
|
active-background: @gruvbox-dark-yellow-dark;
|
||||||
|
active-foreground: @background;
|
||||||
|
alternate-active-background: @active-background;
|
||||||
|
alternate-active-foreground: @active-foreground;
|
||||||
|
selected-active-background: @gruvbox-dark-yellow-light;
|
||||||
|
selected-active-foreground: @active-foreground;
|
||||||
|
|
||||||
|
urgent-background: @gruvbox-dark-red-dark;
|
||||||
|
urgent-foreground: @background;
|
||||||
|
alternate-urgent-background: @urgent-background;
|
||||||
|
alternate-urgent-foreground: @urgent-foreground;
|
||||||
|
selected-urgent-background: @gruvbox-dark-red-light;
|
||||||
|
selected-urgent-foreground: @urgent-foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
@import "gruvbox-common.rasi"
|
||||||
background-color: @background;
|
|
||||||
border: 1;
|
|
||||||
border-radius: 6;
|
|
||||||
border-color: @bordercolor;
|
|
||||||
padding: 5;
|
|
||||||
}
|
|
||||||
#mainbox {
|
|
||||||
border: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
#message {
|
|
||||||
border: 1px dash 0px 0px ;
|
|
||||||
border-color: @separatorcolor;
|
|
||||||
padding: 1px ;
|
|
||||||
}
|
|
||||||
#textbox {
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#listview {
|
|
||||||
fixed-height: 0;
|
|
||||||
border: 2px dash 0px 0px ;
|
|
||||||
border-color: @bordercolor;
|
|
||||||
spacing: 2px ;
|
|
||||||
scrollbar: false;
|
|
||||||
padding: 2px 0px 0px ;
|
|
||||||
}
|
|
||||||
#element {
|
|
||||||
border: 0;
|
|
||||||
padding: 1px ;
|
|
||||||
}
|
|
||||||
#element.normal.normal {
|
|
||||||
background-color: @background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#element.normal.urgent {
|
|
||||||
background-color: @urgent-background;
|
|
||||||
text-color: @urgent-foreground;
|
|
||||||
}
|
|
||||||
#element.normal.active {
|
|
||||||
background-color: @active-background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#element.selected.normal {
|
|
||||||
background-color: @selected-background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#element.selected.urgent {
|
|
||||||
background-color: @selected-urgent-background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#element.selected.active {
|
|
||||||
background-color: @selected-active-background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#element.alternate.normal {
|
|
||||||
background-color: @background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#element.alternate.urgent {
|
|
||||||
background-color: @urgent-background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#element.alternate.active {
|
|
||||||
background-color: @active-background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#scrollbar {
|
|
||||||
width: 2px ;
|
|
||||||
border: 0;
|
|
||||||
handle-width: 8px ;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
#sidebar {
|
|
||||||
border: 2px dash 0px 0px ;
|
|
||||||
border-color: @separatorcolor;
|
|
||||||
}
|
|
||||||
#button.selected {
|
|
||||||
background-color: @selected-background;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#inputbar {
|
|
||||||
spacing: 0;
|
|
||||||
text-color: @foreground;
|
|
||||||
padding: 1px ;
|
|
||||||
}
|
|
||||||
#case-indicator {
|
|
||||||
spacing: 0;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#entry {
|
|
||||||
spacing: 0;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#prompt {
|
|
||||||
spacing: 0;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
#inputbar {
|
|
||||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
|
||||||
}
|
|
||||||
#textbox-prompt-colon {
|
|
||||||
expand: false;
|
|
||||||
str: ":";
|
|
||||||
margin: 0px 0.3em 0em 0em ;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
xrandr --output DVI-I-0 --primary --mode 1440x900 --pos 2080x0 --rotate normal --output DVI-I-1 --off --output HDMI-0 --mode 1920x1080 --pos 0x566 --rotate left --output DP-0 --off --output DP-1 --off --output DP-2 --mode 3440x1440 --pos 1080x900 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off
|
xrandr --output DVI-I-0 --primary --mode 1440x900 --pos 2080x0 --rotate normal --output DVI-I-1 --off --output HDMI-0 --mode 1920x1080 --pos 0x660 --rotate left --output DP-0 --mode 3440x1440 --pos 1080x900 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output DP-4 --off --output DP-5 --off
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
[options]
|
|
||||||
font = UbuntuMono 14
|
|
||||||
|
|
||||||
[colors]
|
|
||||||
|
|
||||||
# special
|
|
||||||
foreground = #f8f8f2
|
|
||||||
foreground_bold = #f8f8f2
|
|
||||||
cursor = #f8f8f2
|
|
||||||
background = rgba(40, 42, 54, 1)
|
|
||||||
|
|
||||||
# black
|
|
||||||
color0 = #000000
|
|
||||||
color8 = #4d4d4d
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 = #ff5555
|
|
||||||
color9 = #ff6e67
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 = #50fa7b
|
|
||||||
color10 = #5af78e
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 = #f1fa8c
|
|
||||||
color11 = #f4f99d
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 = #bd93f9
|
|
||||||
color12 = #caa9fa
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 = #ff79c6
|
|
||||||
color13 = #ff92d0
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 = #8be9fd
|
|
||||||
color14 = #9aedfe
|
|
||||||
|
|
||||||
# white
|
|
||||||
color7 = #bfbfbf
|
|
||||||
color15 = #e6e6e6
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
set synctex true
|
||||||
+1
Submodule zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions added at a411ef3e09
Submodule zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting added at dffe304567
Reference in New Issue
Block a user