substitute ~/.local/share with $XDG_DATA_HOME

This commit is contained in:
Dennis Lee
2020-04-04 12:55:06 -07:00
parent 2b572b2a89
commit 82cf021b78
10 changed files with 13 additions and 13 deletions

View File

@@ -43,4 +43,4 @@ alias mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)"
alias \
magit="nvim -c MagitOnly" \
ref="shortcuts >/dev/null; source ~/.config/shortcutrc" \
weath="less -S ~/.local/share/weatherreport" \
weath="less -S $XDG_DATA_HOME/weatherreport" \

View File

@@ -222,7 +222,7 @@ for_window [title="mpvfloat"] border pixel 0
no_focus [title="mpvfloat"]
# #---Function Buttons---# #
bindsym $mod+F1 exec --no-startup-id groff -mom ~/.local/share/larbs/readme.mom -Tpdf | zathura -
bindsym $mod+F1 exec --no-startup-id groff -mom $XDG_DATA_HOME/larbs/readme.mom -Tpdf | zathura -
bindsym $mod+F2 restart
bindsym $mod+F3 exec --no-startup-id displayselect
bindsym $mod+F4 exec --no-startup-id prompt "Hibernate computer?" "$hibernate"

View File

@@ -1,7 +1,7 @@
[Default Applications]
# xdg-open will use these settings to determine how to open filetypes.
# These .desktop entries can also be seen and changed in ~/.local/share/applications/
# These .desktop entries can also be seen and changed in $XDG_DATA_HOME/applications/
text/x-shellscript=text.desktop;
x-scheme-handler/magnet=torrent.desktop;

View File

@@ -10,7 +10,7 @@ ncmpcpp_directory = ~/.config/ncmpcpp
## MPD clients (eg. ncmpc) also use that location.
##
#
lyrics_directory = ~/.local/share/lyrics
lyrics_directory = $XDG_DATA_HOME/lyrics
#
##### connection settings #####
#