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