From dec51a3714f3962a79aac070e18f68ff61de9fda Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 21 Jul 2023 21:58:36 -0400 Subject: [PATCH] remove explicit references to homedir path --- dot_config/beets/config.yaml.tmpl | 4 ++-- dot_config/sway/config | 6 +++--- dot_config/zsh/dot_zshrc | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dot_config/beets/config.yaml.tmpl b/dot_config/beets/config.yaml.tmpl index 3ed4997..cb772d9 100644 --- a/dot_config/beets/config.yaml.tmpl +++ b/dot_config/beets/config.yaml.tmpl @@ -1,4 +1,4 @@ -directory: /home/joel/Music +directory: ~/Music library: ~/.config/beets/library.db plugins: chroma embedart edit convert fetchart missing unimported @@ -28,7 +28,7 @@ convert: embed: yes copy_album_art: no never_convert_lossy_files: yes - dest: /home/joel/Downloads + dest: ~/Downloads acoustid: apikey: JrQ02aAnhy diff --git a/dot_config/sway/config b/dot_config/sway/config index a6ef2d0..646ee96 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -25,7 +25,7 @@ set $pass rofi-rbw --target password set $totp rofi-rbw --target TOTP # Your preferred screen locker (also starts BOINC to ensure all idle time is # being used) -set $lock swaylock -f --scaling=center -i /home/joel/Pictures/wallpapers/the-northern-forest-1920×1080.jpg +set $lock swaylock -f --scaling=center -i ~/Pictures/wallpapers/the-northern-forest-1920×1080.jpg # Volume commands set $volume-up pactl set-sink-volume @DEFAULT_SINK@ +2% && killall -SIGUSR1 i3status set $volume-down pactl set-sink-volume @DEFAULT_SINK@ -2% && killall -SIGUSR1 i3status @@ -109,8 +109,8 @@ bindsym $mod+u kill bindsym $mod+o exec $menu # screenshot -bindsym $mod+x exec grim -c -g "$(slurp)" /home/joel/Pictures/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png') -bindsym $mod+Shift+x exec grim -c /home/joel/Pictures/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png') +bindsym $mod+x exec grim -c -g "$(slurp)" ~/Pictures/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png') +bindsym $mod+Shift+x exec grim -c ~/Pictures/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png') # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index 9dac6de..13dc1aa 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -11,7 +11,7 @@ unsetopt beep bindkey -v # End of lines configured by zsh-newuser-install # The following lines were added by compinstall -zstyle :compinstall filename '/home/joel/.zshrc' +zstyle :compinstall filename "$ZDOTDIR/.zshrc" autoload -Uz compinit compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"