summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Gassner <justin.gassner@mailbox.org>2024-04-21 01:22:44 +0200
committerJustin Gassner <justin.gassner@mailbox.org>2024-04-21 01:22:44 +0200
commit989ad9c568bde02c85b61c299f539c5ea02660ee (patch)
tree46bb5ff0d89fef45a84c35575e77850e8bfded57
parentd459a14dbef2c0cda076a8972eb29139f8292e3a (diff)
parent82e82c8f94ed2f61b18a19d08dad31f33a49eb44 (diff)
downloaddotfiles-notebook.tar.zst
Merge branch 'master' into notebooknotebook
-rw-r--r--.bash_profile1
-rw-r--r--.config/nvim/init.vim14
-rw-r--r--.config/systemd/user/yt-dlp.service1
-rwxr-xr-x.local/bin/opendoc10
-rwxr-xr-x.local/bin/upgrade3
5 files changed, 22 insertions, 7 deletions
diff --git a/.bash_profile b/.bash_profile
index 3ac48f2..3a3e65f 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -11,6 +11,7 @@ export PASSWORD_STORE_DIR=~/.local/share/pass
export PASSWORD_STORE_GENERATED_LENGTH=16
export MAIL=~/.mail
export XAUTHORITY=$XDG_RUNTIME_DIR/Xauthority
+export EXECJS_RUNTIME=MiniRacer
[[ -f ~/.bashrc ]] && . ~/.bashrc
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index a0395e3..23a5ecf 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -71,11 +71,11 @@ nmap <leader>i <Plug>(ale_info)
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap)
let g:ale_linters = {
- \ 'PKGBUILD' : ['shellcheck'],
- \ 'lua' : ['luacheck', 'lua_language_server'],
- \ 'sh' : ['shellcheck'],
- \ 'text' : ['cspell', 'languagetool'],
- \ 'yaml' : ['yamllint'],
+ \ 'PKGBUILD' : ['shellcheck'],
+ \ 'lua' : ['luacheck', 'lua_language_server'],
+ \ 'sh' : ['shellcheck'],
+ \ 'text' : ['cspell', 'languagetool'],
+ \ 'yaml' : ['yamllint'],
\}
let g:ale_fixers = {
\ '*' : ['remove_trailing_lines', 'trim_whitespace'],
@@ -119,5 +119,9 @@ let g:vimtex_grammar_vlty = {
\ 'shell_options' : '--equation-punctuation display',
\ 'show_suggestions' : '1',
\}
+let g:vimtex_toc_config = {
+ \ 'layers' : ['content'],
+ \ 'show_help' : 0,
+ \}
" vim: ft=vim
diff --git a/.config/systemd/user/yt-dlp.service b/.config/systemd/user/yt-dlp.service
index 8d8d66c..b9f6674 100644
--- a/.config/systemd/user/yt-dlp.service
+++ b/.config/systemd/user/yt-dlp.service
@@ -5,5 +5,4 @@ After=network-online.target
[Service]
Type=oneshot
-ExecStart=/home/justin/videos/youtube/download
ExecStart=/home/justin/videos/gabi-fastner/download
diff --git a/.local/bin/opendoc b/.local/bin/opendoc
index 5fb73e0..c0930cb 100755
--- a/.local/bin/opendoc
+++ b/.local/bin/opendoc
@@ -4,5 +4,13 @@ cd ~/library/ || exit 1
file=$(find -L . \( -iname '*.pdf' -or -iname '*djvu' \) -type f \
-printf '%P\n' | sort | dmenu -i -l 10)
if test -f "$file"; then
- zathura "$file" &
+ case "$file" in
+ *.pdf)
+ zathura "$file" &
+ #sioyek "$file" &
+ ;;
+ *.djvu)
+ zathura "$file" &
+ ;;
+ esac
fi
diff --git a/.local/bin/upgrade b/.local/bin/upgrade
index d756bd4..8629db8 100755
--- a/.local/bin/upgrade
+++ b/.local/bin/upgrade
@@ -1,5 +1,8 @@
#!/usr/bin/bash
+#echo "Next upgrade on April 30th"
+#exit 0
+
# Upgrade system
sudo pacman -Syu