diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2021-03-17 23:30:52 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2021-03-17 23:30:52 -0400 |
commit | a0bf2535ff02070b290995ba985214b4cf9faace (patch) | |
tree | ab677e2b3556b5ed8210ab860f77fbab6d09cf6e | |
parent | 60c0561a1ab38b27c85fa73220a04d6dce36ca93 (diff) |
Updating to 2021-03-17 state
24 files changed, 92 insertions, 132 deletions
diff --git a/.cache/yt-sub b/.cache/yt-sub index 26eb0ec..bf23fd7 100644 --- a/.cache/yt-sub +++ b/.cache/yt-sub @@ -1,8 +1,16 @@ -TechLinked -LinusTechTips +Scott Manley +Everyday Astronaut +Tested Major Hardware +LinusTechTips +TechLinked +LMG Clips Front Page Tech Girlfriend Reviews -Tested -Scott Manley -Everyday Astronaut +Ryan George +Tom Scott +Smarter Everyday +Stand-up Maths +Numberphile +Computerphile +Code Bullet diff --git a/.config/aliasrc b/.config/aliasrc index 72781c0..60ba839 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -20,7 +20,6 @@ | cdd | cd .. | | e | $EDITOR | | ew | nvim ./main.rnw | -| fp | fontpreview | | fu | fuck | | f | vicd | | g | git | diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf index 646d4ee..0025c36 100644 --- a/.config/fontconfig/fonts.conf +++ b/.config/fontconfig/fonts.conf @@ -28,10 +28,13 @@ <alias> <family>monospace</family> <prefer> + <family>Lig LinLibertineMO Nerd Font</family> + <family>Lig Linux Libertine Mono O</family> <family>Linux Libertine Mono O</family> <family>Brutalist Mono</family> <family>Cartograph Mono CF</family> <family>Maison Mono</family> + <family>Fira Code</family> <family>Liberation Mono</family> </prefer> </alias> diff --git a/.config/mutt/my-configs b/.config/mutt/my-configs index 066e9dc..c79629c 100644 --- a/.config/mutt/my-configs +++ b/.config/mutt/my-configs @@ -2,7 +2,7 @@ # Add the following line to your muttrc to have them: # source $HOME/.config/mutt/my-configs -# GOOBOOK: +# GOOBOOK: {{{ # goobook let's you use google contacts information. # You install it with pip: pip install --user goobook # Query emails @@ -12,17 +12,22 @@ macro index,pager a "<pipe-message>goobook add<return>" "add the sender address # Note that if you use an old version of mutt-wizard, # you will need to disable abook in it's script: # sed -i "s/^set\squery_command.*$//" /usr/share/mutt-wizard/mutt-wizard.muttrc - -# PGP Encryption: -# I want pgp encryption by default when possible. -# The following line makes this possible: -set crypt_use_gpgme=yes -set crypt_autosign -set pgp_auto_decode - -# Muttprint: +# }}} +# PGP Encryption: {{{ +set crypt_use_gpgme = yes +set crypt_autosign = yes +set crypt_opportunistic_encrypt = yes +set pgp_self_encrypt = yes +set pgp_default_key = 'ABC4A5A7430D6309ACBD219044F94DD6456590C3' +set pgp_import_command = "gpg --no-verbose --import -v %f" +# }}} +# Muttprint: {{{ set print_command="muttprint" # Dump all headers # macro index p "<display-toggle-weed> <print-message> <display-toggle-weed> <exit>" +# }}} +# Colors {{{ +source colors +# }}} # vim: filetype=neomuttrc diff --git a/.config/newsboat/config b/.config/newsboat/config index b5dc713..b6ba2dd 100644 --- a/.config/newsboat/config +++ b/.config/newsboat/config @@ -2,6 +2,7 @@ # auto-reload yes external-url-viewer "urlscan -dc -r 'linkhandler {}'" +download-full-page yes bind-key j down bind-key k up diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 80cba41..d7d3f0a 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -84,11 +84,13 @@ call plug#end() " Sensible defaults {{{ " Aesthetics & basics syntax on -colo elly +colo friffle " colorscheme tweaks {{{ hi Normal guibg=NONE hi CursorLineNr guibg=NONE hi Constant guibg=NONE +hi Conceal guibg=NONE +hi Folded guibg=NONE hi ColorColumn guibg='#738c9c' hi Todo guibg='#acb3b5' guifg='#340001' hi Search guifg='#810002' guibg='#738c9c' @@ -214,8 +216,6 @@ let g:user_emmet_leader_key=',' nnoremap <C-n> :VimtexTocToggle<cr> " Underscore errors let g:tex_no_error=1 -" Consistent conceal highlighting - hi clear Conceal " Nvim-R " Folding diff --git a/.config/picom.conf b/.config/picom.conf index 433f984..7fce10a 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -39,9 +39,6 @@ use-damage = true; backend = "glx"; glx-no-stencil = true; glx-copy-from-front = false; -glx-swap-method = "undefined"; glx-no-rebind-pixmap = true; # glx-use-copysubbuffermesa = true; -glx-use-gpushader4 = true; -xrender-sync = true; xrender-sync-fence = true; diff --git a/.local/bin/define b/.local/bin/define deleted file mode 100755 index ac3c61f..0000000 --- a/.local/bin/define +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -sdcv --color $1 | less diff --git a/.local/bin/gd2pdf b/.local/bin/gd2pdf deleted file mode 100755 index 057f13a..0000000 --- a/.local/bin/gd2pdf +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -groffdown "$1" | refer -PS -e -p"$REFERBIB" | groff -me -ms -kejpt -T pdf | zathura - diff --git a/.local/bin/groffdown b/.local/bin/groffdown deleted file mode 100755 index f2810a5..0000000 --- a/.local/bin/groffdown +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/bash - -file=$(readlink -f "$1") -dir=$(dirname "$file") -base="${file%.*}" - -output=$( sed -e '1,1d - s/title:/\.TL\n/ - s/author:/\.AU\n/ - s/date:/\.ND\n/ - s/institution:/\.AI\n/ - - s/\\begin{abstract}/\.AB/ - s/\\end{abstract}/\.AE/ - - s/^\#####.\(.*\)/\.NH 5\n\1\n\.PP/g - s/^\####.\(.*\)/\.NH 4\n\1\n\.PP/g - s/^\###.\(.*\)/\.NH 3\n\1\n\.PP/g - s/^\##.\(.*\)/\.NH 2\n\1\n\.PP/g - s/^\#.\(.*\)/\.NH 1\n\1\n\.PP/g - - s/\*\*\*\(.*\)\*\*\*$/\n\.BI\ \"\1\"\ /g - s/\*\*\*\(.*\)\*\*\*\(.\)$/\n\.BI\ \"\1\"\ \"\2\"/g - s/\*\*\*\(.*\)\*\*\*\(.\)/\n\.BI\ \"\1\"\ \"\2\"\n/g - - s/\*\*\(.*\)\*\*$/\n\.B\ \"\1\"\ /g - s/\*\*\(.*\)\*\*\(.\)$/\n\.B\ \"\1\"\ \"\2\"/g - s/\*\*\(.*\)\*\*\(.\)/\n\.B\ \"\1\"\ \"\2\"\n/g - - s/\*\(.*\)\*$/\n\.I\ \"\1\"\ /g - s/\*\(.*\)\*\(.\)$/\n\.I\ \"\1\"\ \"\2\"/g - s/\*\(.*\)\*\(.\)/\n\.I\ \"\1\"\ \"\2\"\n/g - - s/`\(.*\)`$/\n\.CW\ \"\1\"\ /g - s/`\(.*\)`\(.\)$/\n\.CW\ \"\1\"\ \"\2\"/g - s/`\(.*\)`\(.\)/\n\.CW\ \"\1\"\ \"\2\"\n/g - - s/^\ ...............-\ /.IP\ \\(bu\ 10\n/g - s/^\ ...........-\ /.IP\ \\(bu\ 8\n/g - s/^\ .......-\ /.IP\ \\(bu\ 6\n/g - s/^\ ...-\ /.IP\ \\(bu\ 4\n/g - s/^-\ /.IP\ \\(bu\ 2\n/g - s/^\ .*-\ /.IP\ \\(bu\ 12\n/g - - ' $1) -# echo "$output" | groff -me -ms -kejpt -T pdf > $base.pdf - -# echo "$output" > $base.ms -# groff -ms $base.ms -T pdf > $base.pdf - -echo "$output" - -# $output >> output.ms -# s/\*\*\*.*\*\*\*/Hi\1hi/g diff --git a/.local/bin/opout b/.local/bin/opout index 25a8aa0..7dd5d5a 100755 --- a/.local/bin/opout +++ b/.local/bin/opout @@ -8,4 +8,4 @@ case "$1" in *.tex|*.rnw|*.gd|*.md|*.rmd|*.ms|*.me|*.mom) setsid "$READER" "$basename".pdf >/dev/null 2>&1 & ;; *.html) setsid "$BROWSER" --new-window "$basename".html >/dev/null 2>&1 & ;; *.sent) setsid sent "$1" >/dev/null 2>&1 & ;; -esac && sleep 1 && dwmc rotatestack -1 && dwmc focusmaster & +esac && sleep 0.2 && dwmc rotatestack -1 && dwmc focusmaster & diff --git a/.local/bin/texinit b/.local/bin/texinit index 5568c99..8d5adf2 100755 --- a/.local/bin/texinit +++ b/.local/bin/texinit @@ -1,6 +1,11 @@ #!/bin/sh -cp $HOME/Dropbox/A/Scholar/All/Templates/Text/LaTeX/001personal/cegep-lanaudiere/article/* ./ -ln $BIB/citations.bib ./citations.bib +case form in "$1"; + rnw) + cp $HOME/Dropbox/A/Scholar/All/Templates/LaTeX/cegep/main.rnw ;; + *) + cp $HOME/Dropbox/A/Scholar/All/Templates/LaTeX/cegep/main.tex ;; +esac + mkdir archives diff --git a/.local/share/fonts/linux-libertine/LigLinLibertineMONerdFont-Mono.otf b/.local/share/fonts/linux-libertine/LigLinLibertineMONerdFont-Mono.otf Binary files differnew file mode 100644 index 0000000..8e6ba56 --- /dev/null +++ b/.local/share/fonts/linux-libertine/LigLinLibertineMONerdFont-Mono.otf diff --git a/.local/share/fonts/linux-libertine/Linux Libertine Display O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine Display O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf Binary files differnew file mode 100644 index 0000000..570e7fa --- /dev/null +++ b/.local/share/fonts/linux-libertine/Linux Libertine Display O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf diff --git a/.local/share/fonts/linux-libertine/Linux Libertine Initials O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine Initials O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf Binary files differnew file mode 100644 index 0000000..b09b0aa --- /dev/null +++ b/.local/share/fonts/linux-libertine/Linux Libertine Initials O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf diff --git a/.local/share/fonts/linux-libertine/Linux Libertine Mono O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine Mono O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf Binary files differnew file mode 100644 index 0000000..e89e93d --- /dev/null +++ b/.local/share/fonts/linux-libertine/Linux Libertine Mono O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Bold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Bold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf Binary files differnew file mode 100644 index 0000000..42e3e12 --- /dev/null +++ b/.local/share/fonts/linux-libertine/Linux Libertine O Bold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Bold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Bold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf Binary files differnew file mode 100644 index 0000000..b95d56c --- /dev/null +++ b/.local/share/fonts/linux-libertine/Linux Libertine O Bold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf Binary files differnew file mode 100644 index 0000000..479207a --- /dev/null +++ b/.local/share/fonts/linux-libertine/Linux Libertine O Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf Binary files differnew file mode 100644 index 0000000..42277fb --- /dev/null +++ b/.local/share/fonts/linux-libertine/Linux Libertine O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf Binary files differnew file mode 100644 index 0000000..c13de2b --- /dev/null +++ b/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf Binary files differnew file mode 100644 index 0000000..71c646f --- /dev/null +++ b/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf @@ -1,47 +1 @@ -export GOPATH=$HOME/.go -export SCRIPTS=$HOME/.local/bin -export PATH=$PATH$( find $HOME/.local/bin/ -type d -printf ":%p" ) -export PATH=$PATH:$HOME/.cargo/bin -export PATH=$PATH:/root/.local/bin -export PATH=$PATH:$HOME/.local/bin -export QT_QPA_PLATFORMTHEME="qt5ct" -export EDITOR=/usr/bin/nvim -export READER=/usr/bin/zathura -export GTK2_RC_FILES="$HOME/.gtkrc-2.0" -export QT_QPA_PLATFORMTHEME="qt5ct" -export GRDB="dropbox://default@/git-private" -export TERMINAL=st -export TERM=st -export BIB=$HOME/Dropbox/A/Scholar/All/References -export REFERBIB=$HOME/Dropbox/A/Scholar/All/References/bibliography.refer -export DISTRIB_ID=arch -export DISTRIB_RELEASE=$(uname -r) -export XDG_CONFIG_HOME=$HOME/.config -export R_PROFILE_USER=$HOME/.config/R/Rprofile -export TODOIST_API_KEY="$(pass Todoist/api)" -# export GOROOT=/usr/bin/go - -# fix "xdg-open fork-bomb" export your preferred browser from here -export BROWSER=$(which firefox) - -# less/man colors -export LESS=-R -export LESS_TERMCAP_md=$'\e[01;36;74m' # begin bold -export LESS_TERMCAP_mb=$'\e[01;31;4m' # begin blinking -export LESS_TERMCAP_us=$'\e[04;32;146m' # begin underline -export LESS_TERMCAP_so=$'\e[30;42;146m' # begin reverse video -export LESS_TERMCAP_se=$'\e[0m' # end reverse video -export LESS_TERMCAP_me=$'\e[0m' # end mode -export LESS_TERMCAP_ue=$'\e[0m' # end underline - -# Start Desktop Environment if on the main TTY -if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then -startx -fi - -# gh completion -eval "$(gh completion -s zsh)" - -# Generate shortcuts and aliases -shortcutgen -aliasgen +.profile##hostname.battlestation
\ No newline at end of file diff --git a/.profile##hostname.battlestation b/.profile##hostname.battlestation new file mode 100644 index 0000000..5d4307d --- /dev/null +++ b/.profile##hostname.battlestation @@ -0,0 +1,48 @@ +export GOPATH=$HOME/.go +export SCRIPTS=$HOME/.local/bin +export PATH=$PATH$( find $HOME/.local/bin/ -type d -printf ":%p" ) +export PATH=$PATH:$HOME/.cargo/bin +export PATH=$PATH:/root/.local/bin +export PATH=$PATH:$HOME/.local/bin +export QT_QPA_PLATFORMTHEME="qt5ct" +export EDITOR=/usr/bin/nvim +export READER=/usr/bin/zathura +export GTK2_RC_FILES="$HOME/.gtkrc-2.0" +export QT_QPA_PLATFORMTHEME="qt5ct" +export GRDB="dropbox://default@/git-private" +export TERMINAL=st +export TERM=st +export GDK_DPI_SCALE=1.44 +export BIB=$HOME/Dropbox/A/Scholar/All/References +export REFERBIB=$HOME/Dropbox/A/Scholar/All/References/bibliography.refer +export DISTRIB_ID=arch +export DISTRIB_RELEASE=$(uname -r) +export XDG_CONFIG_HOME=$HOME/.config +export R_PROFILE_USER=$HOME/.config/R/Rprofile +export TODOIST_API_KEY="$(pass Todoist/API)" +# export GOROOT=/usr/bin/go + +# fix "xdg-open fork-bomb" export your preferred browser from here +export BROWSER=$(which firefox) + +# less/man colors +export LESS=-R +export LESS_TERMCAP_md=$'\e[01;36;74m' # begin bold +export LESS_TERMCAP_mb=$'\e[01;31;4m' # begin blinking +export LESS_TERMCAP_us=$'\e[04;32;146m' # begin underline +export LESS_TERMCAP_so=$'\e[30;42;146m' # begin reverse video +export LESS_TERMCAP_se=$'\e[0m' # end reverse video +export LESS_TERMCAP_me=$'\e[0m' # end mode +export LESS_TERMCAP_ue=$'\e[0m' # end underline + +# Start Desktop Environment if on the main TTY +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then +startx +fi + +# gh completion +eval "$(gh completion -s zsh)" + +# Generate shortcuts and aliases +shortcutgen +aliasgen |