From 60c0561a1ab38b27c85fa73220a04d6dce36ca93 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 17 Mar 2021 22:53:59 -0400 Subject: add sshchoose script --- .local/bin/sshchoose | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .local/bin/sshchoose diff --git a/.local/bin/sshchoose b/.local/bin/sshchoose new file mode 100755 index 0000000..6b884c6 --- /dev/null +++ b/.local/bin/sshchoose @@ -0,0 +1,6 @@ +#!/bin/sh + +choice="$(pass ls ssh/ | sed '1d;s/^.*\s//g' | fzf)" + +ssh "$(pass ssh/$choice)" + -- cgit v1.2.3 From a0bf2535ff02070b290995ba985214b4cf9faace Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 17 Mar 2021 23:30:52 -0400 Subject: Updating to 2021-03-17 state --- .cache/yt-sub | 18 +++++-- .config/aliasrc | 1 - .config/fontconfig/fonts.conf | 3 ++ .config/mutt/my-configs | 25 ++++++---- .config/newsboat/config | 1 + .config/nvim/init.vim | 6 +-- .config/picom.conf | 3 -- .local/bin/define | 3 -- .local/bin/gd2pdf | 3 -- .local/bin/groffdown | 54 --------------------- .local/bin/opout | 2 +- .local/bin/texinit | 9 +++- .../LigLinLibertineMONerdFont-Mono.otf | Bin 0 -> 2228592 bytes ...us Material Design Icons Plus Weather Icons.otf | Bin 0 -> 2409036 bytes ...us Material Design Icons Plus Weather Icons.otf | Bin 0 -> 2427180 bytes ...us Material Design Icons Plus Weather Icons.otf | Bin 0 -> 2171272 bytes ...us Material Design Icons Plus Weather Icons.otf | Bin 0 -> 2366768 bytes ...us Material Design Icons Plus Weather Icons.otf | Bin 0 -> 2444348 bytes ...us Material Design Icons Plus Weather Icons.otf | Bin 0 -> 2463516 bytes ...us Material Design Icons Plus Weather Icons.otf | Bin 0 -> 2549016 bytes ...us Material Design Icons Plus Weather Icons.otf | Bin 0 -> 2427508 bytes ...us Material Design Icons Plus Weather Icons.otf | Bin 0 -> 2376724 bytes .profile | 48 +----------------- .profile##hostname.battlestation | 48 ++++++++++++++++++ 24 files changed, 92 insertions(+), 132 deletions(-) delete mode 100755 .local/bin/define delete mode 100755 .local/bin/gd2pdf delete mode 100755 .local/bin/groffdown create mode 100644 .local/share/fonts/linux-libertine/LigLinLibertineMONerdFont-Mono.otf create mode 100644 .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 create mode 100644 .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 create mode 100644 .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 create mode 100644 .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 create mode 100644 .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 create mode 100644 .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 create mode 100644 .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 create mode 100644 .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 create mode 100644 .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 mode change 100644 => 120000 .profile create mode 100644 .profile##hostname.battlestation 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 @@ monospace + Lig LinLibertineMO Nerd Font + Lig Linux Libertine Mono O Linux Libertine Mono O Brutalist Mono Cartograph Mono CF Maison Mono + Fira Code Liberation Mono 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 "goobook add" "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 " " +# }}} +# 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 :VimtexTocToggle " 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 new file mode 100644 index 0000000..8e6ba56 Binary files /dev/null and b/.local/share/fonts/linux-libertine/LigLinLibertineMONerdFont-Mono.otf differ 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 new file mode 100644 index 0000000..570e7fa Binary files /dev/null and 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 differ 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 new file mode 100644 index 0000000..b09b0aa Binary files /dev/null and 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 differ 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 new file mode 100644 index 0000000..e89e93d Binary files /dev/null and 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 differ 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 new file mode 100644 index 0000000..42e3e12 Binary files /dev/null and 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 differ 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 new file mode 100644 index 0000000..b95d56c Binary files /dev/null and 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 differ 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 new file mode 100644 index 0000000..479207a Binary files /dev/null and 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 differ 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 new file mode 100644 index 0000000..42277fb Binary files /dev/null and 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 differ 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 new file mode 100644 index 0000000..c13de2b Binary files /dev/null and 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 differ 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 new file mode 100644 index 0000000..71c646f Binary files /dev/null and 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 differ diff --git a/.profile b/.profile deleted file mode 100644 index 84d57d2..0000000 --- a/.profile +++ /dev/null @@ -1,47 +0,0 @@ -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 diff --git a/.profile b/.profile new file mode 120000 index 0000000..6e93ee5 --- /dev/null +++ b/.profile @@ -0,0 +1 @@ +.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 -- cgit v1.2.3 From a8604b71a10edda8c08b909ce1fb63aca653d77e Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 1 May 2021 11:00:41 -0400 Subject: Updated files from battlestation --- .Xresources | 51 +-- .Xresources##hostname.battlestation | 50 +++ .config/manual.part | 6 +- .config/mutt/colors | 2 +- .config/picom.conf | 2 +- .config/sxhkd/sxhkdrc | 2 +- .local/bin/manualgen | 6 +- .local/bin/remaps | 2 + .../bu3i5mo7.default-release/chrome/userChrome.css | 350 --------------------- .../chrome/userContent.css | 23 -- .xinitrc | 22 +- .xinitrc##hostname.battlestation | 23 ++ 12 files changed, 85 insertions(+), 454 deletions(-) mode change 100644 => 120000 .Xresources create mode 100644 .Xresources##hostname.battlestation delete mode 100644 .mozilla/firefox/bu3i5mo7.default-release/chrome/userChrome.css delete mode 100644 .mozilla/firefox/bu3i5mo7.default-release/chrome/userContent.css mode change 100644 => 120000 .xinitrc create mode 100644 .xinitrc##hostname.battlestation diff --git a/.Xresources b/.Xresources deleted file mode 100644 index 809693f..0000000 --- a/.Xresources +++ /dev/null @@ -1,50 +0,0 @@ -! __ __ -! \ \/ /_ __ ___ ___ ___ _ _ _ __ ___ ___ ___ -! \ /| '__/ _ \/ __|/ _ \| | | | '__/ __/ _ \/ __| -! / \| | | __/\__ \ (_) | |_| | | | (_| __/\__ \ -! /_/\_\_| \___||___/\___/ \__,_|_| \___\___||___/ -! -! - -! X Resources: Generated with Hodler (http://github.com/matttproud/hodler) -!black -*color0: #111a1f -*color8: #868b8d -!red -*color1: #8d7856 -*color9: #810002 -!green -*color2: #798362 -*color10: #037500 -!yellow -*color3: #9b9257 -*color11: #ebcb88 -!blue -*color4: #63768a -*color12: #63768a -!magenta -*color5: #b7416e -*color13: #738c9c -!cyan -*color6: #6998b3 -*color14: #66aabb -!white -*color7: #c0c7ca -*color15: #c0c7ca -!other -*background: #222d32 -*foreground: #acb3b5 -*cursorColor: #ebcb88 -! See "highlightColorMode" and "hm" options in XTerm manual page. -*highlightTextColor: #2e333c -*highlightColor: #161f2a -! No support for cursor text coloring; would be #1e232b. -! No support for bold coloring; would be #626a73. - -!other -*.alpha: 0.92 -! SXIV COLORS -Sxiv.background: #111A1F -Sxiv.foreground: #9B9257 - -Xft.dpi: 144 diff --git a/.Xresources b/.Xresources new file mode 120000 index 0000000..5c8476a --- /dev/null +++ b/.Xresources @@ -0,0 +1 @@ +.Xresources##hostname.battlestation \ No newline at end of file diff --git a/.Xresources##hostname.battlestation b/.Xresources##hostname.battlestation new file mode 100644 index 0000000..45221c2 --- /dev/null +++ b/.Xresources##hostname.battlestation @@ -0,0 +1,50 @@ +! __ __ +! \ \/ /_ __ ___ ___ ___ _ _ _ __ ___ ___ ___ +! \ /| '__/ _ \/ __|/ _ \| | | | '__/ __/ _ \/ __| +! / \| | | __/\__ \ (_) | |_| | | | (_| __/\__ \ +! /_/\_\_| \___||___/\___/ \__,_|_| \___\___||___/ +! +! + +! X Resources: Generated with Hodler (http://github.com/matttproud/hodler) +!black +*color0: #111a1f +*color8: #868b8d +!red +*color1: #8d7856 +*color9: #810002 +!green +*color2: #798362 +*color10: #037500 +!yellow +*color3: #9b9257 +*color11: #ebcb88 +!blue +*color4: #63768a +*color12: #63768a +!magenta +*color5: #b7416e +*color13: #738c9c +!cyan +*color6: #6998b3 +*color14: #66aabb +!white +*color7: #c0c7ca +*color15: #c0c7ca +!other +*background: #222d32 +*foreground: #acb3b5 +*cursorColor: #ebcb88 +! See "highlightColorMode" and "hm" options in XTerm manual page. +*highlightTextColor: #2e333c +*highlightColor: #161f2a +! No support for cursor text coloring; would be #1e232b. +! No support for bold coloring; would be #626a73. + +!other +*.alpha: 0.69 +! SXIV COLORS +Sxiv.background: #111A1F +Sxiv.foreground: #9B9257 + +Xft.dpi: 144 diff --git a/.config/manual.part b/.config/manual.part index b34ba2a..92ea91c 100644 --- a/.config/manual.part +++ b/.config/manual.part @@ -1,8 +1,6 @@ ---- -title: My dwm configuration +title: dwm --- my personal configuration +rcsdate: $Date: 2021/04/08 23:51:08 $ author: Benjamin Chausse -date: 2020-01-26 ---- The idea behind this configuration is simple. Vim-keybindings, Quick access to frequently used apps, and Consistent design! diff --git a/.config/mutt/colors b/.config/mutt/colors index 6c1b368..d362899 100644 --- a/.config/mutt/colors +++ b/.config/mutt/colors @@ -26,7 +26,7 @@ color sidebar_ordinary color1 default color sidebar_highlight color14 default color sidebar_divider color4 black color sidebar_flagged color9 black -color sidebar_new color14 black +color sidebar_new color13 black color normal color11 default color error color2 default color tilde black default diff --git a/.config/picom.conf b/.config/picom.conf index 7fce10a..de96672 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -10,7 +10,7 @@ fade-out-step = 0.05; fade-exclude = [ ]; # Rounded Corners - corner-radius = 11; + corner-radius = 0; rounded-corners-exclude = [ "class_g = 'dwm'", ]; diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 1a2e5e6..776b388 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -113,7 +113,7 @@ super + c killall picom || setsid picom ## Toggle Screenkey super + Insert - killall screenkey || screenkey --bg-color "#222d32" -s small -f HackGen -t 1 --font-color "#BABABA" + killall screenkey || screenkey --bg-color "#222d32" -s small -f "Apercu Mono" -t 1 --font-color "#BABABA" --mods-mode tux ## Open this manual super + alt + shift + h manualgen diff --git a/.local/bin/manualgen b/.local/bin/manualgen index 738ef5c..16a7653 100755 --- a/.local/bin/manualgen +++ b/.local/bin/manualgen @@ -10,10 +10,10 @@ s/\s*#-#$/\n##/; sed "s/-->/##\ /; s/:\(.*\)$/:\1\`/; s/\s+\s/+/g; - s/#\*\*:.*//") + s/#\*\*:.*//; + s/\(^##.*\)/\1\n/g") manual=$(cat $HOME/.config/manual.part) -printf " $manual \n $config" | gd2pdf +printf "$manual\n$config" | lowdown -sTms | pdfroff -itk -mspdf | zathura - -# printf " $manual \n $config" diff --git a/.local/bin/remaps b/.local/bin/remaps index ed6ae43..595022d 100755 --- a/.local/bin/remaps +++ b/.local/bin/remaps @@ -9,3 +9,5 @@ setxkbmap -option caps:super killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' # Map the menu button to right super as well. xmodmap -e 'keycode 135 = Super_R' +# Software fix for key bounce (debouncing) +xkbset bo 50 diff --git a/.mozilla/firefox/bu3i5mo7.default-release/chrome/userChrome.css b/.mozilla/firefox/bu3i5mo7.default-release/chrome/userChrome.css deleted file mode 100644 index 49f3a7f..0000000 --- a/.mozilla/firefox/bu3i5mo7.default-release/chrome/userChrome.css +++ /dev/null @@ -1,350 +0,0 @@ - :root { - - /* Minimal Functional Fox variables*/ - --mff-bg: #222d32; - --mff-icon-color: #e0fbfc; - --mff-nav-toolbar-padding: 8px; - --mff-sidebar-bg: var(--mff-bg); - --mff-sidebar-color: #e0fbfc; - --mff-tab-border-radius: 0px; - --mff-tab-color: #f2f1f0; - --mff-tab-font-family: "DejaVu", sans; - --mff-tab-font-size: 11pt; - --mff-tab-font-weight: 400; - --mff-tab-height: 32px; - --mff-tab-pinned-bg: ##19B596; - --mff-tab-selected-bg: #b7416e; - --mff-tab-soundplaying-bg: ##EADAB1; - --mff-urlbar-color: #98c1d9; - --mff-urlbar-focused-color: #e0fbfc; - --mff-urlbar-font-family: "Apercu Mono", monospace; - --mff-urlbar-font-size: 12pt; - --mff-urlbar-font-weight: 700; - --mff-urlbar-results-color: #e0fbfc; - --mff-urlbar-results-font-family: "Apercu Mono", serif; - --mff-urlbar-results-font-size: 12pt; - --mff-urlbar-results-font-weight: 700; - --mff-urlbar-results-url-color: #98c1d9; - /* --mff-tab-selected-bg: linear-gradient(90deg, rgba(232,74,95,1) 0%, rgba(255,132,124,1) 50%, rgba(254,206,168,1) 100%); */ - /* --mff-urlbar-font-weight: 600; */ - - /* Overriden Firefox variables*/ - --autocomplete-popup-background: var(--mff-bg) !important; - --default-arrowpanel-background: var(--mff-bg) !important; - --default-arrowpanel-color: #fefefa !important; - --lwt-toolbarbutton-icon-fill: var(--mff-icon-color) !important; - --panel-disabled-color: #f9f9fa80; - --toolbar-bgcolor: var(--mff-bg) !important; - --urlbar-separator-color: transparent !important; -} - -/* - _____ _ ___ ___ - |_ _/_\ | _ ) __| - | |/ _ \| _ \__ \ - |_/_/ \_\___/___/ - -*/ - -.tab-background[selected="true"] { - background: var(--mff-tab-selected-bg) !important; -} - -.tab-background:not[visuallyselected] { - background: var(--mff-tab-selected-bg) !important; - opacity: 0.5 !important; -} - -/* This positions the tabs under the navaigator container */ -#titlebar { - -moz-box-ordinal-group: 3 !important; -} - -.tabbrowser-tab::after, -.tabbrowser-tab::before { - border-left: none !important; -} - -.tab-background { - border: none !important; -} - -.tabbrowser-arrowscrollbox { - margin-inline-start: 4px !important; - margin-inline-end: 0px !important; -} - -.tab-close-button { - display: none !important; -} - -.tab-text { - font-family: var(--mff-tab-font-family); - font-weight: var(--mff-tab-font-weight); - font-size: var(--mff-tab-font-size) !important; - color: var(--mff-tab-color); -} - -/* Hide the favicon for tabs */ -hbox.tab-content .tab-icon-image { - display: none !important; -} - -/* Show the favicon for tabs that are pinned */ -hbox.tab-content[pinned=true] .tab-icon-image { - display: initial !important; -} - -hbox.tab-content[pinned=true] .tab-text { - display: none !important; -} - -#tabbrowser-tabs { - --tab-loading-fill: #033433 !important; - -} - -.tab-label-container:not([textoverflow]) { - display: flex; - overflow: hidden; - justify-content: center; -width: 50% !important; - max-width: 50% !important; - min-width: 50% !important; -} - -/* .tab-label-container::after { - content: "?" !important; - -} */ - -.tab-line { - display: none !important; -} - -.tabbrowser-tab { - border-radius: var(--mff-tab-border-radius) !important; - border-width: 0; - height: var(--mff-tab-height) !important; - margin-bottom: 4px !important; - margin-inline-end: 4px !important; - margin-top: 4px !important; - max-height: var(--mff-tab-height) !important; - min-height: var(--mff-tab-height) !important; -} - -.tabbrowser-tab[soundplaying="true"] { - background-color: var(--mff-tab-soundplaying-bg) !important; -} - -#tabs-newtab-button { - list-style-image: url("add.svg") !important; - opacity: 0.7; -} - -.tab-icon-sound { - display: none !important; -} - -/* - _____ ___ ___ _ ___ _ ___ -|_ _/ _ \ / _ \| | | _ ) /_\ | _ \ - | || (_) | (_) | |__| _ \/ _ \| / - |_| \___/ \___/|____|___/_/ \_\_|_\ -*/ - -.urlbar-icon > image { - fill: var(--mff-icon-color) !important; - color: var(--mff-icon-color) !important; -} - -.toolbarbutton-text { - color: var(--mff-icon-color) !important; -} -.urlbar-icon { - color: var(--mff-icon-color) !important; - -} - -.toolbarbutton-icon { -/* filter: drop-shadow(0 0 0.75rem crimson); */ -} - -#urlbar-results { - font-family: var(--mff-urlbar-results-font-family); - font-weight: var(--mff-urlbar-results-font-weight); - font-size: var(--mff-urlbar-results-font-size) !important; - color: var(--mff-urlbar-results-color) !important; -} - -.urlbarView-row[type="bookmark"] > span{ - color: green !important; -} - -.urlbarView-row[type="switchtab"] > span{ - color: orange !important; -} - -.urlbarView-url, .search-panel-one-offs-container { - color: var(--mff-urlbar-results-url-color) !important; - font-family: var(--mff-urlbar-font-family); - font-weight: var(--mff-urlbar-results-font-weight); - font-size: var(--mff-urlbar-font-size) !important; -} - -.urlbarView-favicon, .urlbarView-type-icon { - display: none !important; -} - -#urlbar-input { - font-size: var(--mff-urlbar-font-size) !important; - color: var(--mff-urlbar-color) !important; - font-family: var(--mff-urlbar-font-family) !important; - font-weight: var(--mff-urlbar-font-weight)!important; - text-align: center !important; -} - -#tracking-protection-icon-container, #identity-box { - display: none; -} - -#back-button > .toolbarbutton-icon{ - --backbutton-background: transparent !important; - border: none !important; -} - -#back-button { - list-style-image: url("left-arrow.svg") !important; -} - -#forward-button { - list-style-image: url("right-arrow.svg") !important; -} - -toolbar { - background-image: none !important; -} - -#urlbar-background { - opacity: .98 !important; -} - -#navigator-toolbox, toolbaritem { - border: none !important; -} - -#urlbar-background { - background-color: var(--mff-bg) !important; - border: none !important; -} - -.toolbar-items { - background-color: var(--mff-bg) !important; -} - -#sidebar-search-container { - background-color: var(--mff-sidebar-bg) !important; -} - -box.panel-arrowbox { - display: none; -} - -box.panel-arrowcontent { - border-radius: 8px !important; - border: none !important; -} - -tab.tabbrowser-tab { - overflow: hidden; -} - -tab.tabbrowser-tab:hover { - box-shadow: 0 1px 4px rgba(0,0,0,.05); -} - -image#star-button { - display: none; -} - -toolbar#nav-bar { - padding: var(--mff-nav-toolbar-padding) !important; -} - -toolbar#nav-bar { - padding: 4px !important; -} - -#urlbar { - max-width: 70% !important; - margin: 0 15% !important; - /* position: unset!important; */; -} - -#urlbar-input:focus { - color: var(--mff-urlbar-focused-color) !important; -} - - -.megabar[breakout-extend="true"]:not([open="true"]) > #urlbar-background { - box-shadow: none !important; - background-color: transparent !important; -} - -toolbarbutton { - box-shadow: none !important; -} - - -/* - ___ ___ ___ ___ ___ _ ___ - / __|_ _| \| __| _ ) /_\ | _ \ - \__ \| || |) | _|| _ \/ _ \| / - |___/___|___/|___|___/_/ \_\_|_\ -*/ - -.close-icon, .urlbar-icon { - fill: var(--mff-icon-color) !important; -} - -.sidebar-placesTree { - color: var(--mff-sidebar-color) !important; -} - -#sidebar-switcher-target { -/* color: white !important; */ -} - -#sidebar-box { - --sidebar-background-color: var(--mff-sidebar-bg) !important; -} - -splitter#sidebar-splitter { - opacity: 0 !important; -} - -splitter#sidebar-splitter { - border: none !important; - background-color: transparent !important; -} - -image#sidebar-icon { - display: none; -} - - -/* - _ ___ ___ _____ _____ _ _ _ ___ _ - /_\ | _ \ _ \/ _ \ \ / / _ \/_\ | \| | __| | - / _ \| / / (_) \ \/\/ /| _/ _ \| .` | _|| |__ - /_/ \_\_|_\_|_\\___/ \_/\_/ |_|/_/ \_\_|\_|___|____| - */ - -.panel-arrowcontent { - padding: 0px !important; - margin: 0px !important; -} - -toolbarseparator { - display: none; -} diff --git a/.mozilla/firefox/bu3i5mo7.default-release/chrome/userContent.css b/.mozilla/firefox/bu3i5mo7.default-release/chrome/userContent.css deleted file mode 100644 index 826998d..0000000 --- a/.mozilla/firefox/bu3i5mo7.default-release/chrome/userContent.css +++ /dev/null @@ -1,23 +0,0 @@ -@import url("userChrome.css"); - -/* Removes white loading page */ -@-moz-document url(about:blank), url(about:newtab), url(about:home) { - html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay { - background: var(--mff-bg) !important; - } - } - - - /* Hide scrollbar */ - - :root{ - scrollbar-width: none !important; - } - - - @-moz-document url(about:privatebrowsing) { - - :root{ - scrollbar-width: none !important; - } - } \ No newline at end of file diff --git a/.xinitrc b/.xinitrc deleted file mode 100644 index b65c7b9..0000000 --- a/.xinitrc +++ /dev/null @@ -1,21 +0,0 @@ -xwallpaper --zoom ~/.cache/wall.png & -dropbox-cli start & -sxhkd & -remaps & -dunst & -unclutter & -protonmail-bridge --no-window & -xautolock -time 5 -detectsleep -secure -locker locktoggle & -cinnamon-screensaver & -picom -b & -echo "" > $HOME/.local/share/newsboat/queue -echo us > $HOME/.cache/layout -xrdb -load $HOME/.Xresources -flashfocus -n 30 -o 0.75 -v ERROR & -dwmblocks & -newsup & -while true; do - dwm >/dev/null -done -# exec icewm -# vim:filetype=sh diff --git a/.xinitrc b/.xinitrc new file mode 120000 index 0000000..b6b1dfa --- /dev/null +++ b/.xinitrc @@ -0,0 +1 @@ +.xinitrc##hostname.battlestation \ No newline at end of file diff --git a/.xinitrc##hostname.battlestation b/.xinitrc##hostname.battlestation new file mode 100644 index 0000000..da0657c --- /dev/null +++ b/.xinitrc##hostname.battlestation @@ -0,0 +1,23 @@ +xwallpaper --zoom ~/.cache/wall.png & +dropbox-cli start & +sxhkd & +remaps & +dunst & +unclutter & +protonmail-bridge --no-window & +xautolock -time 5 -detectsleep -secure -locker locktoggle & +cinnamon-screensaver & +picom -b & +echo "" > $HOME/.local/share/newsboat/queue +echo us > $HOME/.cache/layout +xrdb -load $HOME/.Xresources +flashfocus -n 30 -o 0.75 -v ERROR & +dwmblocks & +newsup & +nohup davmail ~/.config/davmail/properties & +shairport-sync & +while true; do + dwm >/dev/null +done +# exec icewm +# vim:filetype=sh -- cgit v1.2.3