Some fixes

This commit is contained in:
Observer of Time 2022-10-29 01:27:38 +03:00
parent 134af68e1d
commit db5b26b6dc
Signed by: chronobserver
GPG Key ID: 8A2DEA1DBAEBCA9E
16 changed files with 83 additions and 88 deletions

View File

@ -44,19 +44,19 @@ export PYLINTHOME="$XDG_STATE_HOME/pylint"
# }}}
# Set the paths used by go {{{
export GOPATH="$HOME/.local/go"
export GOPATH="$XDG_DATA_HOME/go"
# }}}
# Set the paths used by R {{{
export R_LIBS_USER="$HOME/.local/R"
export R_LIBS_USER="$XDG_DATA_HOME/R"
export R_PROFILE="$XDG_CONFIG_HOME/Rprofile"
export R_HISTFILE="$XDG_STATE_HOME/R/history"
# }}}
# Set the paths used by perl5 {{{
export PERL5LIB="$HOME/.local/perl/lib/perl5"
export PERL_CPANM_OPT="-l $HOME/.local/perl"
export PERL_CPANM_HOME="$HOME/.local/perl/cpanm"
export PERL5LIB="$XDG_DATA_HOME/perl/lib/perl5"
export PERL_CPANM_OPT="-l $XDG_DATA_HOME/perl"
export PERL_CPANM_HOME="$XDG_DATA_HOME/perl/cpanm"
# }}}
# Set the paths used by rust {{{
@ -95,7 +95,7 @@ export GNUPGHOME="$XDG_DATA_HOME/gnupg"
# Set the paths used by docker {{{
export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker"
# }}
# }}}
# Set the paths used by texlive {{{
export TEXMFCONFIG="$XDG_CONFIG_HOME/texmf"
@ -119,7 +119,7 @@ export PATH="$HOME/.local/bin:\
/usr/bin/site_perl:\
/usr/bin/vendor_perl:\
/usr/bin/core_perl:\
$HOME/.local/perl/bin:\
$XDG_DATA_HOME/perl/bin:\
$GOPATH/bin"
# }}}
@ -129,9 +129,6 @@ test -f "$XDG_CONFIG_HOME/inputrc" && export INPUTRC="$_"
# Source fzf keybinds
test -f '/usr/share/fzf/key-bindings.bash' && . "$_"
# Source tokens for CLI tools
test -f "$XDG_DATA_HOME/tokens.sh" && . "$_"
# Source bashrc
test -f "$XDG_DATA_HOME/bash/bashrc.sh" && . "$_"

View File

@ -1,4 +1,4 @@
#!/bin/sh
notify-send -u normal -t 2000 -i \
exec notify-send -u normal -t 2000 -i \
emblem-downloads 'Torrent' "Downloaded: $3"

70
.config/neofetch/config.conf Normal file → Executable file
View File

@ -1,7 +1,9 @@
#!/hint/bash
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
# shellcheck disable=SC2034,SC2154
# shellcheck disable=SC2154
get_de_wm() {
((wm_run != 1)) && get_wm
@ -35,100 +37,100 @@ print_info() {
# Hide/Show Fully qualified domain name.
# Values: 'on', 'off'
title_fqdn="off"
title_fqdn=off
# Shorten the output of the kernel function.
# Values: 'on', 'off'
kernel_shorthand="on"
kernel_shorthand=on
# Shorten the output of the distro function
# Values: 'on', 'tiny', 'off'
distro_shorthand="off"
distro_shorthand=off
# Show/Hide OS Architecture.
# Values: 'on', 'off'
os_arch="off"
os_arch=off
# Shorten the output of the uptime function
# Values: 'on', 'tiny', 'off'
uptime_shorthand="tiny"
uptime_shorthand=tiny
# Show memory pecentage in output.
# Values: 'on', 'off'
memory_percent="on"
memory_percent=on
# Show/Hide Package Manager names.
# Values: 'on', 'tiny' 'off'
package_managers="off"
package_managers=off
# Show the path to $SHELL
# Values: 'on', 'off'
shell_path="off"
shell_path=off
# Show $SHELL version
# Values: 'on', 'off'
shell_version="on"
shell_version=on
# CPU speed type
# Values: 'scaling_cur_freq', 'scaling_min_freq',
# 'scaling_max_freq', 'bios_limit', 'cpufreq'.
speed_type="cpufreq"
speed_type=cpufreq
# CPU speed shorthand
# Values: 'on', 'off'.
speed_shorthand="on"
speed_shorthand=on
# Enable/Disable CPU brand in output.
# Values: 'on', 'off'
cpu_brand="off"
cpu_brand=off
# Hide/Show CPU speed.
# Values: 'on', 'off'
cpu_speed="on"
cpu_speed=on
# Display CPU cores in output
# Values: 'logical', 'physical', 'off'
cpu_cores="logical"
cpu_cores=logical
# Hide/Show CPU temperature.
# Values: 'C', 'F', 'off'
cpu_temp="off"
cpu_temp=off
# Enable/Disable GPU Brand
# Values: 'on', 'off'
gpu_brand="on"
gpu_brand=on
# Which GPU to display
# Values: 'all', 'dedicated', 'integrated'
gpu_type="all"
gpu_type=all
# Display refresh rate next to each monitor
# Values: 'on', 'off'
refresh_rate="on"
refresh_rate=on
# Shorten output of GTK Theme / Icons / Font
# Values: 'on', 'off'
gtk_shorthand="off"
gtk_shorthand=off
# Enable/Disable gtk2 Theme / Icons / Font
# Values: 'on', 'off'
gtk2="on"
gtk2=on
# Enable/Disable gtk3 Theme / Icons / Font
# Values: 'on', 'off'
gtk3="on"
gtk3=on
# Website to ping for the public IP
# Values: 'url'
public_ip_host="https://v4.ident.me"
public_ip_host='https://v4.ident.me'
# Public IP timeout.
# Values: 'int'
# Values; 'int'
public_ip_timeout=2
# Show Desktop Environment version
# Values: 'on', 'off'
de_version="on"
de_version=on
# Which disks to display.
# The values can be any /dev/sdXX, mount point or directory.
@ -136,20 +138,20 @@ disk_show=('/dev/nvme0n1p2' '/dev/sda2' '/dev/sdb2')
# What to append to the Disk subtitle.
# Values: 'mount', 'name', 'dir', 'none'
disk_subtitle="name"
disk_subtitle=name
# Show/Hide disk percent.
# Values: 'on', 'off'
disk_percent="on"
disk_percent=on
# Bar characters
# Values: 'string', 'string'
bar_char_elapsed="="
bar_char_total="-"
bar_char_elapsed='='
bar_char_total='-'
# Toggle Bar border
# Values: 'on', 'off'
bar_border="on"
bar_border=on
# Progress bar length in spaces
# Values: 'num'
@ -157,9 +159,9 @@ bar_length=25
# Info display
# Values: 'bar', 'infobar', 'barinfo', 'off'
cpu_display="off"
memory_display="off"
battery_display="bar"
disk_display="off"
cpu_display=off
memory_display=off
battery_display=bar
disk_display=off
# vim:ft=sh:

View File

@ -1,6 +1,6 @@
# All feeds will be automatically reloaded at start up
# and then continuously after a certain time has passed.
auto-reload "yes"
auto-reload yes
# Set the browser command to use when opening an article in the browser.
browser "firefox %u"
@ -12,7 +12,7 @@ datetime-format "%Y-%m-%d"
error-log "~/.local/share/newsboat/error.log"
# Specifies which feed property shall be used for sorting.
feed-sort-order "title"
feed-sort-order title
# Format string that is used for formatting notifications.
notify-format "%d new articles"
@ -28,7 +28,7 @@ reload-threads 4
save-path "~/Documents/RSS"
# This value will be used as HTTP User-Agent header.
user-agent "Mozilla/5.0 (Linux x86_64) newsboat/2.21.1"
user-agent "Mozilla/5.0 (Linux x86_64) newsboat/2.29"
# Keybindings {{{
bind-key j next

View File

@ -1,5 +1,4 @@
#!/bin/sh
notify-send -u normal -t 2000 \
exec notify-send -u normal -t 2000 \
-i feed-subscribe 'RSS' "$@"

@ -1 +1 @@
Subproject commit 1362ec74a7ef781be045703cc9111a6944eb5633
Subproject commit 1edf40f8bde82a2536e86c24cd1096ac70dd0e5d

View File

@ -1,17 +1,17 @@
let &g:guicursor =
\ 'v-sm:block,' .
let &guicursor =
\ 'v-sm:block,'.
\ 'i-ci-ve:ver25,'.
\ 'r-o-n-c-cr:hor25'
let &g:background = 'dark'
let &background = 'dark'
let &g:foldenable = v:false
let &foldenable = v:false
let &g:packpath = ''
let &packpath = ''
let s:packer = stdpath('data').'/site/pack/packer/'
let &g:runtimepath =
let &runtimepath =
\ '/usr/share/nvimpager/runtime,'.
\ '/usr/share/nvim/runtime,'.
\ '/usr/share/vim/vimfiles,'.
@ -24,7 +24,7 @@ dofile(config..'/lua/config/treesitter.lua')
EOF
if $TERM !=# 'linux'
let &g:termguicolors = v:true
let &termguicolors = v:true
let g:gruvbox_italic = v:true
colorscheme gruvbox
else
@ -42,7 +42,6 @@ hi MatchParen ctermbg=236 guibg=#303030
hi Todo ctermfg=179 guifg=#D7AF5F
hi! link Operator GruvboxGreen
hi! link TSOperator GruvboxGreen
hi NvimPagerFG_red_BG_ ctermfg=9 guifg=#FF0000
hi NvimPagerFG_green_BG_ ctermfg=40 guifg=#00D700

View File

@ -63,7 +63,7 @@ c.fileselect.single_file.command = \
c.fonts.web.family.fixed = 'Hack, Fira Code, Fantasque Sans Mono'
# Which Chromium process model to use.
c.qt.process_model = 'process-per-site'
c.qt.chromium.process_model = 'process-per-site'
# Languages to use for spell checking.
c.spellcheck.languages = ['en-GB', 'en-US', 'el-GR']

View File

@ -447,4 +447,4 @@ nnoremap o :file<CR>
nnoremap Q :quit<CR>
" }}}
" vim:fdm=marker:fdl=1:
" vim:fdm=marker:fdl=1:syn=vim:

View File

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

2
.gitattributes vendored
View File

@ -11,7 +11,6 @@
.config/htop/htoprc linguist-language=INI
.config/mpv/input.conf linguist-language=INI
.config/mpv/mpv.conf linguist-language=INI
.config/neofetch/config.conf linguist-language=INI
.config/newsboat/config linguist-language=INI
.config/pip/pip.conf linguist-language=INI
.config/plasma-localerc linguist-language=INI
@ -28,6 +27,7 @@
.bash_profile linguist-language=Shell
.config/aria2/notif.sh linguist-language=Shell
.config/neofetch/config.conf linguist-language=Shell
.config/newsboat/notif.sh linguist-language=Shell
.local/arch/init.sh linguist-language=Shell
.local/share/bash/aliases.sh linguist-language=Shell

View File

@ -68,22 +68,6 @@ Exec = /bin/sed -i /usr/share/wine/wine.inf \
EOF
# }}}
# Disable netrw file explorer {{{
sudo tee /etc/pacman.d/hooks/netrw.hook >/dev/null <<EOF
[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = usr/share/nvim/runtime/plugin/netrwPlugin.vim
[Action]
Description = Disabling netrw file explorer...
When = PostTransaction
Exec = /bin/sed -e '/FileExplorer/,/END/d' -i \
/usr/share/nvim/runtime/plugin/netrwPlugin.vim
EOF
# }}}
# Install packages via yay {{{
xargs <~/.local/arch/packages.repo.txt \
yay -S --repo --needed --noconfirm
@ -168,8 +152,9 @@ sudo sed -i /opt/maven/conf/settings.xml \
# }}}
# Setup neovim {{{
nvim --headless +q >/dev/null
nvim --headless +PlugInstall +qa >/dev/null
nvim --headless -c \
'autocmd User PackerComplete qa' \
-c 'PackerSync' >/dev/null
sudo ln -s /usr/bin/nvim /usr/local/bin/vi
sudo ln -s /usr/bin/nvim /usr/local/bin/vim
# }}}

View File

@ -161,7 +161,7 @@ ttf-carlito
ttf-jetbrains-mono
ttf-lato
ttf-liberation
ttf-nerd-fonts-symbols-mono
ttf-nerd-fonts-symbols-1000-em
ungoogled-chromium
unzip
vifm

View File

@ -1,7 +1,7 @@
# shellcheck shell=bash
# Define where cd looks for targets
[ -d "$HOME/Documents/Code" ] && CDPATH='.:~/Documents/Code'
[[ -d "$HOME/Documents/Code" ]] && CDPATH='.:~/Documents/Code'
# Set the primary prompt string
# shellcheck disable=SC2154

View File

@ -1,15 +1,19 @@
# The message digest algorithm used when signing a key
cert-digest-algo SHA512
cert-digest-algo SHA256
# The default key to sign with
default-key C3FC4EB6371B04CC6DDB9EA88A2DEA1DBAEBCA9E
# The default algorithms for new key generation
default-new-key-algo ed25519/cert,sign+cv25519/encr
# Use the default key as default recipient
default-recipient-self
# Never allow the following cipher algorithms
disable-cipher-algo 3DES
disable-cipher-algo BLOWFISH
disable-cipher-algo IDEA
# Allow invalid timestamps
ignore-time-conflict
@ -21,13 +25,22 @@ keyserver hkps://keys.opengpg.org
no-greeting
# The list of personal cipher preferences
personal-cipher-preferences AES256 AES AES192 CAST5
personal-cipher-preferences AES AES256 TWOFISH
# The list of personal compression preferences
personal-compress-preferences ZLIB BZIP2 ZIP
# The list of personal digest preferences
personal-digest-preferences SHA256 SHA512 SHA384 SHA224
personal-digest-preferences SHA256 SHA512 SHA384
# The command line that should be run to view a photo ID
photo-viewer "display %i"
# The digest algorithm used for symmetric encryption
s2k-digest-algo SHA256
# Use the following options when verifying signatures
verify-options show-photos pka-lookup
verify-options show-photos
# Treat the following digest algorithms as weak
weak-digest SHA1

View File

@ -1,7 +1,7 @@
[Appearance]
AntiAliasFonts=true
BoldIntense=false
ColorScheme=GreenOnBlack
ColorScheme=Gruvbox8
Font=Iosevka Custom,15,-1,5,50,0,0,0,0,0
LineSpacing=1
UseFontLineChararacters=true