From 49f07842717da5175d6c6d6b375129485d8435a3 Mon Sep 17 00:00:00 2001
From: Julian Mutter <julian.mutter@comumail.de>
Date: Thu, 2 Mar 2023 15:26:48 +0100
Subject: [PATCH] Use ~ instead of /home/julian

---
 emacs/doom/config.org            |  8 ++++----
 fish/.config/fish/fish_variables |  6 +++---
 i3/i3-scrot.conf                 |  2 +-
 i3/i3/config                     |  2 +-
 i3/i3/scripts/jupyter-calculator |  2 +-
 i3/i3/scripts/setupZoom          |  2 +-
 leftwm/themes.toml               | 16 ++++++++--------
 leftwm/themes/current.diff       |  2 +-
 xmonad/xmonad.errors             |  2 +-
 xmonad/xmonad.hs                 |  2 +-
 zsh/.zshrc                       | 20 ++++++++++----------
 11 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/emacs/doom/config.org b/emacs/doom/config.org
index 272e90a..edcc4f5 100644
--- a/emacs/doom/config.org
+++ b/emacs/doom/config.org
@@ -162,8 +162,8 @@ headline, up to the next headline."
 
 
 ;; Fixes latexindent not finding perl libraries
-(setenv "PERL5LIB" "/home/julian/perl5/lib/perl5")
-;; (setenv "GOPATH" "/home/julian/go")
+(setenv "PERL5LIB" "~/perl5/lib/perl5")
+;; (setenv "GOPATH" "~/go")
 #+end_src
 
 ** Spell Checking
@@ -171,7 +171,7 @@ headline, up to the next headline."
 
 (use-package! langtool
   :init
-  (setq langtool-language-tool-jar "/home/julian/git/languagetool/languagetool-standalone/target/LanguageTool-6.1-SNAPSHOT/LanguageTool-6.1-SNAPSHOT/languagetool-commandline.jar"))
+  (setq langtool-language-tool-jar "~/git/languagetool/languagetool-standalone/target/LanguageTool-6.1-SNAPSHOT/LanguageTool-6.1-SNAPSHOT/languagetool-commandline.jar"))
 
 
 ;; TODO make toggling of spell checking ('SPC t s') use flyspell-mode in text modesm and flyspell-prog-mode in programming modes (see hooks below)
@@ -231,7 +231,7 @@ Return nil if on a link url, markup, html, or references."
 ** Flutter
 #+begin_src emacs-lisp :tangle yes
 
-;; (setq lsp-dart-flutter-sdk-dir "/home/julian/snap/flutter/common/flutter")
+;; (setq lsp-dart-flutter-sdk-dir "~/snap/flutter/common/flutter")
 (map! :mode dart-mode :leader "r" #'flutter-run-or-hot-reload)
 #+end_src
 ** Evil snipe
diff --git a/fish/.config/fish/fish_variables b/fish/.config/fish/fish_variables
index 10296f1..0fb74f6 100644
--- a/fish/.config/fish/fish_variables
+++ b/fish/.config/fish/fish_variables
@@ -1,7 +1,7 @@
 # This file contains fish universal variable definitions.
 # VERSION: 3.0
-SETUVAR --export ANDROID_HOME:/home/julian/Android/Sdk
-SETUVAR --export ANDROID_SDK_ROOT:/home/julian/Android/Sdk/
+SETUVAR --export ANDROID_HOME:~/Android/Sdk
+SETUVAR --export ANDROID_SDK_ROOT:~/Android/Sdk/
 SETUVAR --export EDITOR:/usr/bin/nvim
 SETUVAR __fish_initialized:3400
 SETUVAR fish_color_autosuggestion:555\x1ebrblack
@@ -34,4 +34,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow
 SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
 SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
 SETUVAR fish_pager_color_selected_background:\x2dr
-SETUVAR fish_user_paths:/home/julian/\x2eemacs\x2ed/bin\x1e/home/julian/\x2ecargo/bin\x1e/home/julian/\x2ecargo/env
+SETUVAR fish_user_paths:~/\x2eemacs\x2ed/bin\x1e~/\x2ecargo/bin\x1e~/\x2ecargo/env
diff --git a/i3/i3-scrot.conf b/i3/i3-scrot.conf
index 3b6dfd0..c091ebb 100644
--- a/i3/i3-scrot.conf
+++ b/i3/i3-scrot.conf
@@ -1 +1 @@
-scrot_dir=/home/julian/Pictures/screenshots
+scrot_dir=~/Pictures/screenshots
diff --git a/i3/i3/config b/i3/i3/config
index 866091e..27611b3 100644
--- a/i3/i3/config
+++ b/i3/i3/config
@@ -302,7 +302,7 @@ exec --no-startup-id pa-applet
 exec --no-startup-id nitrogen --restore
 
 # Notifications
-exec --no-startup-id dunst -config /home/julian/.config/dunst/dunstrc
+exec --no-startup-id dunst -config ~/.config/dunst/dunstrc
 # exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd
 
 # exec --no-startup-id xautolock -time 10 -locker blurlock
diff --git a/i3/i3/scripts/jupyter-calculator b/i3/i3/scripts/jupyter-calculator
index d2d06aa..24527bb 100755
--- a/i3/i3/scripts/jupyter-calculator
+++ b/i3/i3/scripts/jupyter-calculator
@@ -4,7 +4,7 @@ import subprocess
 import time
 import psutil
 
-NOTEBOOK_DIR = "/home/julian/jupyter-notebooks/"
+NOTEBOOK_DIR = "~/jupyter-notebooks/"
 PORT = "8988"
 
 def isOtherProcessRunning():
diff --git a/i3/i3/scripts/setupZoom b/i3/i3/scripts/setupZoom
index ad5a345..c88ce2d 100755
--- a/i3/i3/scripts/setupZoom
+++ b/i3/i3/scripts/setupZoom
@@ -2,5 +2,5 @@
 
 zoom &
 
-#i3-msg "workspace --no-auto-back-and-forth 5; exec mousepad /home/julian/Nextcloud/studium/zoom.txt"
+#i3-msg "workspace --no-auto-back-and-forth 5; exec mousepad ~/Nextcloud/studium/zoom.txt"
 i3-msg "workspace --no-auto-back-and-forth 5; append_layout ~/.config/i3/workspace-zoom.json"
diff --git a/leftwm/themes.toml b/leftwm/themes.toml
index cb2160d..2719d25 100644
--- a/leftwm/themes.toml
+++ b/leftwm/themes.toml
@@ -46,7 +46,7 @@ current = false
 
 [[repos.themes]]
 name = "Dracula Rounded"
-directory = "/home/julian/.config/leftwm/themes/Dracula Rounded"
+directory = "~/.config/leftwm/themes/Dracula Rounded"
 repository = "https://github.com/AethanFoot/leftwm-theme-dracula-rounded/"
 commit = "*"
 version = "0.0.3"
@@ -55,7 +55,7 @@ current = false
 
 [[repos.themes]]
 name = "Forest"
-directory = "/home/julian/.config/leftwm/themes/Forest"
+directory = "~/.config/leftwm/themes/Forest"
 repository = "https://github.com/lex148/forest/"
 commit = "*"
 version = "0.0.1"
@@ -80,7 +80,7 @@ current = false
 
 [[repos.themes]]
 name = "Blue Coffee"
-directory = "/home/julian/.config/leftwm/themes/Blue Coffee"
+directory = "~/.config/leftwm/themes/Blue Coffee"
 repository = "https://github.com/Qwart376/Blue-Coffee/"
 commit = "*"
 version = "0.0.1"
@@ -113,7 +113,7 @@ current = false
 
 [[repos.themes]]
 name = "Garden"
-directory = "/home/julian/.config/leftwm/themes/Garden"
+directory = "~/.config/leftwm/themes/Garden"
 repository = "https://github.com/taylor85345/leftwm-theme-garden"
 commit = "*"
 version = "0.0.4"
@@ -122,7 +122,7 @@ current = false
 
 [[repos.themes]]
 name = "Epitaph"
-directory = "/home/julian/.config/leftwm/themes/Epitaph"
+directory = "~/.config/leftwm/themes/Epitaph"
 repository = "https://github.com/VentGrey/Epitaph"
 commit = "*"
 version = "0.0.2"
@@ -131,7 +131,7 @@ current = false
 
 [[repos.themes]]
 name = "Ocean-night"
-directory = "/home/julian/.config/leftwm/themes/Ocean-night"
+directory = "~/.config/leftwm/themes/Ocean-night"
 repository = "https://github.com/TheRoniOne/ocean-night"
 commit = "*"
 version = "0.0.1"
@@ -172,7 +172,7 @@ current = false
 
 [[repos.themes]]
 name = "Double Bar"
-directory = "/home/julian/.config/leftwm/themes/Double Bar"
+directory = "~/.config/leftwm/themes/Double Bar"
 repository = "https://github.com/PeterDauwe/doublebar/"
 commit = "*"
 version = "0.0.2"
@@ -189,7 +189,7 @@ current = false
 
 [[repos.themes]]
 name = "Ascent"
-directory = "/home/julian/.config/leftwm/themes/Ascent"
+directory = "~/.config/leftwm/themes/Ascent"
 repository = "https://gitlab.com/mWalrus/ascent"
 commit = "*"
 version = "1.0.0"
diff --git a/leftwm/themes/current.diff b/leftwm/themes/current.diff
index 8dc3d15..c298c85 100644
--- a/leftwm/themes/current.diff
+++ b/leftwm/themes/current.diff
@@ -107,7 +107,7 @@ index 0f03bbb..6455180 100755
  if [ -x "$(command -v feh)" ]; then
 -  feh --bg-scale "${SCRIPTPATH}/background.jpg"
 +  # feh --bg-scale "${SCRIPTPATH}/background.jpg"
-+    feh --bg-fill /home/julian/Bilder/background.jpg
++    feh --bg-fill ~/Bilder/background.jpg
  fi
  
  #make sure all fonts needed are installed
diff --git a/xmonad/xmonad.errors b/xmonad/xmonad.errors
index 6767361..77e9b89 100644
--- a/xmonad/xmonad.errors
+++ b/xmonad/xmonad.errors
@@ -1 +1 @@
-$ ghc --make xmonad.hs -i -ilib -fforce-recomp -main-is main -dynamic -v0 -outputdir /home/julian/.xmonad/build-x86_64-linux -o /home/julian/.xmonad/xmonad-x86_64-linux
+$ ghc --make xmonad.hs -i -ilib -fforce-recomp -main-is main -dynamic -v0 -outputdir ~/.xmonad/build-x86_64-linux -o ~/.xmonad/xmonad-x86_64-linux
diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs
index 09e134a..4f54cc7 100644
--- a/xmonad/xmonad.hs
+++ b/xmonad/xmonad.hs
@@ -168,7 +168,7 @@ myStartupHook = do
   spawnOnce "xfce4-power-manager"
   spawnOnce "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
   spawnOnce "start-pulseaudio-x11"
-  spawnOnce "feh --bg-fill /home/julian/Bilder/background.jpg"
+  spawnOnce "feh --bg-fill ~/Bilder/background.jpg"
   spawnOnce "/usr/lib/xfce4/notifyd/xfce4-notifyd"
   spawnOnce "jgmenu --at-pointer --hide-on-startup"
 
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 3229ad7..433723e 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,20 +1,20 @@
 # If you come from bash you might have to change your $PATH.
 # export PATH=$HOME/bin:/usr/local/bin:$PATH
-export GOPATH="/home/julian/go";
+export GOPATH="~/go";
 
 export PATH=$GOPATH/bin:$PATH
 
 export PATH=/opt/dart-sdk/bin:$PATH
-export PATH=/home/julian/dev/flutter/bin:$PATH
-export PATH=/home/julian/.emacs.d/bin:$PATH
-export PATH=/home/julian/.cargo/bin:$PATH
-export PATH=/home/julian/perl5/bin:$PATH
-[ -f "/home/julian/.ghcup/env" ] && source "/home/julian/.ghcup/env" # ghcup-env
+export PATH=~/dev/flutter/bin:$PATH
+export PATH=~/.emacs.d/bin:$PATH
+export PATH=~/.cargo/bin:$PATH
+export PATH=~/perl5/bin:$PATH
+[ -f "~/.ghcup/env" ] && source "~/.ghcup/env" # ghcup-env
 
-PERL5LIB="/home/julian/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
-PERL_LOCAL_LIB_ROOT="/home/julian/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
-PERL_MB_OPT="--install_base \"/home/julian/perl5\""; export PERL_MB_OPT;
-PERL_MM_OPT="INSTALL_BASE=/home/julian/perl5"; export PERL_MM_OPT;
+PERL5LIB="~/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
+PERL_LOCAL_LIB_ROOT="~/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
+PERL_MB_OPT="--install_base \"~/perl5\""; export PERL_MB_OPT;
+PERL_MM_OPT="INSTALL_BASE=~/perl5"; export PERL_MM_OPT;
 
 export TERMINAL="alacritty"