Update dotfiles

This commit is contained in:
Observer of Time 2022-06-01 11:00:25 +03:00
parent fb79b554bc
commit 0a961aafa6
Signed by: chronobserver
GPG Key ID: 8A2DEA1DBAEBCA9E
10 changed files with 40 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# shellcheck shell=bash # shellcheck shell=bash disable=SC1090
# Print date on login # Print date on login
printf '\e[1m\e[91m%(%A, %B %d, %Y)T \e[90m- \e[36m%(%Z %z)T\e[m\n\n' printf '\e[1m\e[91m%(%A, %B %d, %Y)T \e[90m- \e[36m%(%Z %z)T\e[m\n\n'
@ -26,6 +26,7 @@ export BROWSER='firefox'
# Set the XDG directories {{{ # Set the XDG directories {{{
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share" export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CACHE_HOME="$HOME/.cache" export XDG_CACHE_HOME="$HOME/.cache"
# }}} # }}}
@ -39,7 +40,7 @@ export PYTHONSTARTUP="$XDG_CONFIG_HOME/pythonrc.py"
export PYTHON_EGG_CACHE="$XDG_CACHE_HOME/python-eggs" export PYTHON_EGG_CACHE="$XDG_CACHE_HOME/python-eggs"
export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME/jupyter" export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME/jupyter"
export IPYTHONDIR="$XDG_CONFIG_HOME/jupyter" export IPYTHONDIR="$XDG_CONFIG_HOME/jupyter"
export PYLINTHOME="$XDG_CACHE_HOME/pylint" export PYLINTHOME="$XDG_STATE_HOME/pylint"
# }}} # }}}
# Set the paths used by go {{{ # Set the paths used by go {{{
@ -49,7 +50,7 @@ export GOPATH="$HOME/.local/go"
# Set the paths used by R {{{ # Set the paths used by R {{{
export R_LIBS_USER="$HOME/.local/R" export R_LIBS_USER="$HOME/.local/R"
export R_PROFILE="$XDG_CONFIG_HOME/Rprofile" export R_PROFILE="$XDG_CONFIG_HOME/Rprofile"
export R_HISTFILE="$XDG_CACHE_HOME/.R_history" export R_HISTFILE="$XDG_STATE_HOME/.R_history"
# }}} # }}}
# Set the paths used by perl5 {{{ # Set the paths used by perl5 {{{
@ -60,10 +61,11 @@ export PERL_CPANM_HOME="$HOME/.local/perl/cpanm"
# Set the paths used by rust {{{ # Set the paths used by rust {{{
export CARGO_HOME="$XDG_CACHE_HOME/cargo" export CARGO_HOME="$XDG_CACHE_HOME/cargo"
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
# }}} # }}}
# Set the paths used by node {{{ # Set the paths used by node {{{
export NODE_REPL_HISTORY="$XDG_CACHE_HOME/.node_repl_history" export NODE_REPL_HISTORY="$XDG_STATE_HOME/.node_repl_history"
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
# }}} # }}}

View File

@ -104,7 +104,7 @@ screen=1
# Subtitles {{{ # Subtitles {{{
# Load all subs in the current and sub-file-paths directories. # Load all subs in the current and sub-file-paths directories.
sub-auto=all sub-auto=fuzzy
# Specify extra directories to search for subtitles. # Specify extra directories to search for subtitles.
sub-file-paths=Subs sub-file-paths=Subs

@ -1 +1 @@
Subproject commit bfd2b371f11e04aa635631509568b9b3576e1d9b Subproject commit f24743d138ce7dedd09f728a48466830b09d5331

View File

@ -32,9 +32,9 @@ c.content.headers.accept_language = 'en-GB,en,el;q=0.9'
c.content.headers.user_agent = ' '.join(( c.content.headers.user_agent = ' '.join((
'Mozilla/5.0', 'Mozilla/5.0',
'(X11; Linux x86_64)', '(X11; Linux x86_64)',
'QtWebEngine/5.15.6', 'QtWebEngine/5.15.9',
'Chromium/87.0.4280.144', 'Chromium/87.0.4280.144',
'qutebrowser/2.3.1' 'qutebrowser/2.5.1'
)) ))
# Allow JavaScript to read from or write to the clipboard. # Allow JavaScript to read from or write to the clipboard.

View File

@ -23,7 +23,7 @@
--output "%(title)s.%(ext)s" --output "%(title)s.%(ext)s"
# Specify a custom user agent. # Specify a custom user agent.
--user-agent "Mozilla/5.0 (Linux x86_64) yt-dlp/2022.03.08.1" --user-agent "Mozilla/5.0 (Linux x86_64) yt-dlp/2022.05.18"
# SponsorBlock categories to create chapters for. # SponsorBlock categories to create chapters for.
--sponsorblock-mark "all" --sponsorblock-mark "all"

View File

@ -115,7 +115,27 @@ python-pynvim
python-pypresence python-pypresence
python-urwid python-urwid
qbittorrent-qt5 qbittorrent-qt5
qemu qemu-audio-alsa
qemu-audio-pa
qemu-audio-spice
qemu-chardev-spice
qemu-common
qemu-hw-display-qxl
qemu-hw-display-virtio-gpu
qemu-hw-display-virtio-gpu-gl
qemu-hw-display-virtio-gpu-pci
qemu-hw-display-virtio-gpu-pci-gl
qemu-hw-display-virtio-vga
qemu-hw-display-virtio-vga-gl
qemu-hw-usb-host
qemu-hw-usb-redirect
qemu-img
qemu-system-x86
qemu-ui-opengl
qemu-ui-spice-app
qemu-ui-spice-core
qemu-vhost-user-gpu
qemu-virtiofsd
qt5-imageformats qt5-imageformats
qutebrowser qutebrowser
rclone rclone

View File

@ -1,3 +1,5 @@
# shellcheck shell=bash
# Aliases {{{ # Aliases {{{
# go to parent directory # go to parent directory
alias ..='cd ..' alias ..='cd ..'

View File

@ -1,3 +1,5 @@
# shellcheck shell=bash
# Define where cd looks for targets # Define where cd looks for targets
[ -d "$HOME/Documents/Code" ] && CDPATH='.:~/Documents/Code' [ -d "$HOME/Documents/Code" ] && CDPATH='.:~/Documents/Code'
@ -12,7 +14,7 @@ HISTIGNORE='[ ]*:ls:ll:exit:logout:history:clear:bg:fg'
HISTCONTROL='erasedups' HISTCONTROL='erasedups'
# Move the history file away from $HOME # Move the history file away from $HOME
HISTFILE="$XDG_CACHE_HOME/.bash_history" HISTFILE="$XDG_STATE_HOME/.bash_history"
# Print time of command in history # Print time of command in history
HISTTIMEFORMAT='{%Y-%m-%d %T} ' HISTTIMEFORMAT='{%Y-%m-%d %T} '

View File

@ -1,3 +1,5 @@
# shellcheck shell=bash
__usage() { __usage() {
if (($1 < $2)); then if (($1 < $2)); then
printf 'Usage: %s %s\n' "${FUNCNAME[1]}" "$3" printf 'Usage: %s %s\n' "${FUNCNAME[1]}" "$3"

View File

@ -21,7 +21,7 @@ Parent=FALLBACK/
ShowTerminalSizeHint=true ShowTerminalSizeHint=true
TerminalCenter=true TerminalCenter=true
TerminalColumns=120 TerminalColumns=120
TerminalMargin=5 TerminalMargin=2
TerminalRows=32 TerminalRows=32
[Interaction Options] [Interaction Options]