summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-03-24 02:12:38 -0500
committerzachir <zachir@librem.one>2024-03-24 02:12:38 -0500
commita379f780dbccbc5ba42a8a58145581d9a9441af2 (patch)
tree51377f91a46a649000cc83c155b1a4c5e497243b /sh
parentf4cb7fce51024dd9566bea3a7a76013d7b540a94 (diff)
parentde752a009e8ac1df83c1631dac8bbf61a741d087 (diff)
Merge branch 'master' of zachir.xyz:zachir/dotfiles into cascas-old
Diffstat (limited to 'sh')
-rw-r--r--sh/aliases4
-rw-r--r--sh/profile3
2 files changed, 6 insertions, 1 deletions
diff --git a/sh/aliases b/sh/aliases
index ef9a53b..7b3eba2 100644
--- a/sh/aliases
+++ b/sh/aliases
@@ -71,5 +71,9 @@ case `uname -s` in
;;
esac
+## Systemctl
+alias us='systemctl --user'
+alias s='systemctl'
+
## Runit
#alias ursm='env SVDIR="$HOME/.local/sv/" rsm'
diff --git a/sh/profile b/sh/profile
index 9dc2e46..d424439 100644
--- a/sh/profile
+++ b/sh/profile
@@ -6,13 +6,14 @@
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
-[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs"
+. "$HOME/.config/user-dirs.dirs"
export XDG_CURRENT_DESKTOP="i3"
export XDG_DOCUMENTS_DIR=${HOME}/Documents
export XDG_DOWNLOAD_DIR=${HOME}/Downloads
export XDG_DESKTOP_DIR=${HOME}/Desktop
export XDG_VIDEOS_DIR=${HOME}/Videos
+export XDG_DATA_DIRS="${XDG_DATA_DIRS}:$HOME/.nix-profile/share"
# Doesn't seem to work
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android