De-debianize config
This commit is contained in:
parent
9a6ba95ea9
commit
57cfd6d3ec
8 changed files with 49 additions and 37 deletions
19
README.rst
19
README.rst
|
@ -25,18 +25,25 @@ Some configurations for these tools:
|
||||||
You need to install:
|
You need to install:
|
||||||
|
|
||||||
- aerc
|
- aerc
|
||||||
|
- browsh
|
||||||
- colordiff
|
- colordiff
|
||||||
- colormake
|
- colormake
|
||||||
|
- davix
|
||||||
- dictd
|
- dictd
|
||||||
- elinks
|
- elinks
|
||||||
- fish
|
- fish
|
||||||
- grammalecte-cli
|
- grammalecte-cli
|
||||||
|
- KeePassXC
|
||||||
- khal
|
- khal
|
||||||
- khard
|
- khard
|
||||||
|
- konsole
|
||||||
- liblouis-bin
|
- liblouis-bin
|
||||||
|
- lunarvim
|
||||||
|
- mpv
|
||||||
- neomutt
|
- neomutt
|
||||||
- neovim
|
- neovim
|
||||||
- newsboat
|
- newsboat
|
||||||
|
- notmuch
|
||||||
- nvm
|
- nvm
|
||||||
- offlineimap3
|
- offlineimap3
|
||||||
- pandoc (>= v3.0)
|
- pandoc (>= v3.0)
|
||||||
|
@ -45,9 +52,19 @@ You need to install:
|
||||||
- pyinotify
|
- pyinotify
|
||||||
- python3-pygments
|
- python3-pygments
|
||||||
- rbenv
|
- rbenv
|
||||||
- scdoc
|
- scdoc (debian only)
|
||||||
- tmux
|
- tmux
|
||||||
|
- tmuxinator
|
||||||
- toot
|
- toot
|
||||||
- unoconv
|
- unoconv
|
||||||
- vdirsyncer
|
- vdirsyncer
|
||||||
- vlock
|
- vlock
|
||||||
|
- bluetuith (but installed by script on debian)
|
||||||
|
- epr (but installed by script on debian)
|
||||||
|
- lazydocker (but installed by script on debian)
|
||||||
|
- lazygit (but installed by script on debian)
|
||||||
|
- nvimpager (but installed by script on debian)
|
||||||
|
- pms - recent version in go (but installed by script on debian)
|
||||||
|
- poezio-omemo (but installed by script on debian)
|
||||||
|
- poezio-plugins (but installed by script on debian)
|
||||||
|
- virtualfish (but installed by script on debian)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
function update-homes -d "Update homes configuration"
|
function update-homes -d "Update homes configuration"
|
||||||
argparse 'h/help' 'g/git' 'd/desktop' 'r/root' 'R/remove' 'i/install' -- $argv
|
argparse 'h/help' 'g/git' 'd/desktop' 'r/root' 'R/remove' 'i/install' 'D/fix-debian' -- $argv
|
||||||
|
|
||||||
set -f homes_path ~/homes
|
set -f homes_path ~/homes
|
||||||
set -f homes_private_path ~/homes-private
|
set -f homes_private_path ~/homes-private
|
||||||
|
@ -67,12 +67,15 @@ function update-homes -d "Update homes configuration"
|
||||||
echo " -i --install"
|
echo " -i --install"
|
||||||
echo " Install user packages and softwares"
|
echo " Install user packages and softwares"
|
||||||
echo
|
echo
|
||||||
|
echo " -D --fix-debian"
|
||||||
|
echo " Install missing packages in debian into user path"
|
||||||
|
echo
|
||||||
echo " -h --help"
|
echo " -h --help"
|
||||||
echo " Show this screen"
|
echo " Show this screen"
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if set -q _flag_install
|
if set -q _flag_fix_debian
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo (set_color 81b29a)"*** Install user softwares ***"(set_color normal)
|
echo (set_color 81b29a)"*** Install user softwares ***"(set_color normal)
|
||||||
|
@ -87,22 +90,14 @@ function update-homes -d "Update homes configuration"
|
||||||
popd
|
popd
|
||||||
rm -rf ~/.cache/nvimpager-git
|
rm -rf ~/.cache/nvimpager-git
|
||||||
|
|
||||||
echo
|
|
||||||
echo
|
|
||||||
echo (set_color 719cd6)"*** Install fundle plugins ***"(set_color normal)
|
|
||||||
echo
|
|
||||||
fundle install
|
|
||||||
fundle update
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo (set_color 719cd6)"*** Install virtualfish ***"(set_color normal)
|
echo (set_color 719cd6)"*** Install virtualfish ***"(set_color normal)
|
||||||
echo
|
echo
|
||||||
pip install --user --upgrade --break-system-packages virtualfish
|
pip install --user --upgrade --break-system-packages virtualfish
|
||||||
vf install compat_aliases projects environment
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if set -q _flag_desktop && set -q _flag_install
|
if set -q _flag_desktop && set -q _flag_fix_debian
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo (set_color 719cd6)"*** Install lazydocker ***"(set_color normal)
|
echo (set_color 719cd6)"*** Install lazydocker ***"(set_color normal)
|
||||||
|
@ -146,6 +141,21 @@ function update-homes -d "Update homes configuration"
|
||||||
rm -rf ~/.cache/poezio-git
|
rm -rf ~/.cache/poezio-git
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if set -q _flag_install
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo (set_color 719cd6)"*** Install virtualfish ***"(set_color normal)
|
||||||
|
echo
|
||||||
|
vf install auto_activation compat_aliases global_requirements projects environment
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo (set_color 719cd6)"*** Install fundle plugins ***"(set_color normal)
|
||||||
|
echo
|
||||||
|
fundle install
|
||||||
|
fundle update
|
||||||
|
end
|
||||||
|
|
||||||
if set -q _flag_remove
|
if set -q _flag_remove
|
||||||
echo (set_color 81b29a)"**** Remove old config ***"(set_color normal)
|
echo (set_color 81b29a)"**** Remove old config ***"(set_color normal)
|
||||||
|
|
||||||
|
@ -223,6 +233,7 @@ function update-homes -d "Update homes configuration"
|
||||||
end
|
end
|
||||||
|
|
||||||
if set -q _flag_desktop
|
if set -q _flag_desktop
|
||||||
|
mkdir -p ~/.local/share/poezio2/logs
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo (set_color 719cd6)"*** Copying desktop part ***"(set_color normal)
|
echo (set_color 719cd6)"*** Copying desktop part ***"(set_color normal)
|
||||||
|
@ -240,6 +251,6 @@ function update-homes -d "Update homes configuration"
|
||||||
end
|
end
|
||||||
|
|
||||||
if functions -q update-homes-secrets
|
if functions -q update-homes-secrets
|
||||||
update-homes-secrets $_flag_desktop $_flag_root
|
update-homes-secrets $_flag_desktop $_flag_root $_flag_fix_debian
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
function vim
|
function vim
|
||||||
nvim -p $argv
|
lvim -p $argv
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
function vimdiff
|
function vimdiff
|
||||||
nvim -d -o $argv
|
lvim -d -o $argv
|
||||||
end
|
end
|
||||||
|
|
1
common/.virtualenvs/global_requirements.txt
Normal file
1
common/.virtualenvs/global_requirements.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ipython
|
|
@ -4,24 +4,7 @@
|
||||||
# palette author: EdenEast
|
# palette author: EdenEast
|
||||||
# initial author: EdenEast
|
# initial author: EdenEast
|
||||||
# adapted by: Kujiu
|
# adapted by: Kujiu
|
||||||
# Neonwolf Color Scheme for NeoMutt
|
|
||||||
# Source: https://codeberg.org/h3xx/mutt-colors-neonwolf/raw/branch/main/mutt-colors-neonwolf-256.muttrc
|
|
||||||
# Based mostly on the colors from the badwolf lightline theme
|
|
||||||
# Project: https://codeberg.org/h3xx/mutt-colors-neonwolf
|
|
||||||
|
|
||||||
# custom body highlights -----------------------------------------------
|
|
||||||
|
|
||||||
# custom index highlights ----------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
# for background in 16 color terminal, valid background colors include:
|
|
||||||
# base03, bg, black, any of the non brights
|
|
||||||
|
|
||||||
# style notes:
|
|
||||||
# when bg=235, that's a highlighted message
|
|
||||||
# normal bg=233
|
|
||||||
|
|
||||||
# basic colors ---------------------------------------------------------
|
|
||||||
color error color196 color235 # message line error text
|
color error color196 color235 # message line error text
|
||||||
color tilde color81 color233 # vi-like tildes marking blank lines
|
color tilde color81 color233 # vi-like tildes marking blank lines
|
||||||
color message color82 color235
|
color message color82 color235
|
||||||
|
@ -113,8 +96,3 @@ color body bold color39 color233 "([a-z][a-z0-9+-]*://(((([a-
|
||||||
# and a heavy handed email regex
|
# and a heavy handed email regex
|
||||||
color body bold color39 color233 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
|
color body bold color39 color233 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
|
||||||
|
|
||||||
# simplified regex for URL & email
|
|
||||||
#color body magenta default "(ftp|https?|gopher|news|telnet|finger)://[^ \"\t\r\n]+"
|
|
||||||
#color body magenta default "[-a-z_0-9.]+@[-a-z_0-9.]+"
|
|
||||||
|
|
||||||
# vi: ft=muttrc ts=4 sw=4 sts=4 et
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ unignore Date From X-Sender Old-Return-Path Reply-To Mail-Followup-To To Cc Bcc
|
||||||
unignore Delivered-To Subject In-Reply-To X-Mailing-List Mailing-List
|
unignore Delivered-To Subject In-Reply-To X-Mailing-List Mailing-List
|
||||||
unignore X-Operating-System X-Mailer User-Agent X-GPG- X-PGP-
|
unignore X-Operating-System X-Mailer User-Agent X-GPG- X-PGP-
|
||||||
|
|
||||||
|
set color_directcolor = true
|
||||||
set charset = UTF-8
|
set charset = UTF-8
|
||||||
set sort = reverse-date-received
|
set sort = reverse-date-received
|
||||||
set edit_headers = yes
|
set edit_headers = yes
|
||||||
|
|
4
desktop/.xbindkeysrc
Normal file
4
desktop/.xbindkeysrc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
"qdbus org.kde.kglobalaccel /component/kwin invokeShortcut view_zoom_in"
|
||||||
|
m:0x50 + c:133 + b:4
|
||||||
|
"qdbus org.kde.kglobalaccel /component/kwin invokeShortcut view_zoom_out"
|
||||||
|
m:0x50 + c:133 + b:5
|
Loading…
Reference in a new issue