De-debianize config

This commit is contained in:
Kujiu 2023-09-10 01:48:28 +02:00
parent 9a6ba95ea9
commit 57cfd6d3ec
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
8 changed files with 49 additions and 37 deletions

View file

@ -25,18 +25,25 @@ Some configurations for these tools:
You need to install:
- aerc
- browsh
- colordiff
- colormake
- davix
- dictd
- elinks
- fish
- grammalecte-cli
- KeePassXC
- khal
- khard
- konsole
- liblouis-bin
- lunarvim
- mpv
- neomutt
- neovim
- newsboat
- notmuch
- nvm
- offlineimap3
- pandoc (>= v3.0)
@ -45,9 +52,19 @@ You need to install:
- pyinotify
- python3-pygments
- rbenv
- scdoc
- scdoc (debian only)
- tmux
- tmuxinator
- toot
- unoconv
- vdirsyncer
- 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)

View file

@ -1,7 +1,7 @@
#!/usr/bin/env fish
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_private_path ~/homes-private
@ -67,12 +67,15 @@ function update-homes -d "Update homes configuration"
echo " -i --install"
echo " Install user packages and softwares"
echo
echo " -D --fix-debian"
echo " Install missing packages in debian into user path"
echo
echo " -h --help"
echo " Show this screen"
return
end
if set -q _flag_install
if set -q _flag_fix_debian
echo
echo
echo (set_color 81b29a)"*** Install user softwares ***"(set_color normal)
@ -87,22 +90,14 @@ function update-homes -d "Update homes configuration"
popd
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 (set_color 719cd6)"*** Install virtualfish ***"(set_color normal)
echo
pip install --user --upgrade --break-system-packages virtualfish
vf install compat_aliases projects environment
end
if set -q _flag_desktop && set -q _flag_install
if set -q _flag_desktop && set -q _flag_fix_debian
echo
echo
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
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
echo (set_color 81b29a)"**** Remove old config ***"(set_color normal)
@ -223,6 +233,7 @@ function update-homes -d "Update homes configuration"
end
if set -q _flag_desktop
mkdir -p ~/.local/share/poezio2/logs
echo
echo
echo (set_color 719cd6)"*** Copying desktop part ***"(set_color normal)
@ -240,6 +251,6 @@ function update-homes -d "Update homes configuration"
end
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

View file

@ -2,5 +2,5 @@
#
function vim
nvim -p $argv
lvim -p $argv
end

View file

@ -2,5 +2,5 @@
#
function vimdiff
nvim -d -o $argv
lvim -d -o $argv
end

View file

@ -0,0 +1 @@
ipython

View file

@ -4,24 +4,7 @@
# palette author: EdenEast
# initial author: EdenEast
# 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 tilde color81 color233 # vi-like tildes marking blank lines
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
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

View file

@ -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 X-Operating-System X-Mailer User-Agent X-GPG- X-PGP-
set color_directcolor = true
set charset = UTF-8
set sort = reverse-date-received
set edit_headers = yes

4
desktop/.xbindkeysrc Normal file
View 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