ugly fix for vs code and zathura

This commit is contained in:
qvalentin 2021-11-19 16:25:54 +01:00
parent 8f0360b2d8
commit b3854d6d0a
8 changed files with 29 additions and 2 deletions

@ -1 +1 @@
Subproject commit 4d947ab1a3907e42bf51ded588ac088007b19cfe Subproject commit 1ec06a92bae4bbc74c5fb8ab7d8dc82c9d16f40d

View File

@ -25,7 +25,7 @@
;; There are two ways to load a theme. Both assume the theme is installed and ;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the ;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default: ;; `load-theme' function. This is the default:
(setq doom-theme 'doom-gruvbox) (setq doom-theme 'doom-henna)
;; If you use `org' and don't want your org files in the default location below, ;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads! ;; change `org-directory'. It must be set before org loads!

View File

@ -5,6 +5,8 @@
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(ansi-color-names-vector '(ansi-color-names-vector
["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"]) ["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"])
'(custom-safe-themes
'("6c531d6c3dbc344045af7829a3a20a09929e6c41d7a7278963f7d3215139f6a7" default))
'(exwm-floating-border-color "#504945") '(exwm-floating-border-color "#504945")
'(fci-rule-color "#7c6f64") '(fci-rule-color "#7c6f64")
'(highlight-tail-colors ((("#363627" "#363627") . 0) (("#323730" "#323730") . 20))) '(highlight-tail-colors ((("#363627" "#363627") . 0) (("#323730" "#323730") . 20)))

View File

@ -44,8 +44,11 @@ xrdb -merge ~/.Xresources
#emacsclient -e '(my-load-xresources)' #emacsclient -e '(my-load-xresources)'
xmobar_change xmobar_change
killall xmobar killall xmobar
xmonad --restart xmonad --restart
zathura-pywal
betterlockscreen -u $PATH_TO_IMG & betterlockscreen -u $PATH_TO_IMG &

11
.scripts/compile_latex Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
DOCUMENT_NAME=$1
# The actual script
pdflatex --synctex=1 --interaction=nonstopmode --shell-escape "$DOCUMENT_NAME.tex" >/dev/null 2>&1
makeglossaries $DOCUMENT_NAME >/dev/null 2>&1
pdflatex --synctex=1 --interaction=nonstopmode --shell-escape "$DOCUMENT_NAME.tex" >/dev/null 2>&1
biber "$DOCUMENT_NAME"
pdflatex --synctex=1 --interaction=nonstopmode --shell-escape "$DOCUMENT_NAME.tex" >/dev/null 2>&1
pdflatex --synctex=1 --interaction=nonstopmode --shell-escape "$DOCUMENT_NAME.tex"

4
.scripts/vscSynctex.sh Executable file
View File

@ -0,0 +1,4 @@
while read line < ~/myfifo; do
echo $line
vscodium --verbose --reuse-window -g $line
done

4
.scripts/zaSynctex.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
param=$(echo "$1" | sed 's/\/\.\//\//')
echo "$param" >> ~/myfifo
#exec bash -c "vscodium --verbose --reuse-window -g '$param' >> ~/test.txt"

3
.scripts/zathuraStarter.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
zaSynctex.sh &
zathura "$@"