.xinitrc, .profile: make POSIX-compliant

This commit is contained in:
dogeystamp 2023-04-21 20:37:06 -04:00
parent b8b0048e00
commit e49433d53c
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 6 additions and 6 deletions

View File

@ -58,14 +58,14 @@ export KEYID="A3A5FA72F8E5E54FBEE425057225FE3592EFFA38"
export KEEPASSDB="$HOME"/dox/sec/pass.kdbx
# Identity (see ~/.local/bin/identity.sh)
if [ -r "$XDG_CONFIG_HOME"/identity ]; then
source "$XDG_CONFIG_HOME"/identity
. "$XDG_CONFIG_HOME"/identity
fi
# Profile to enable/disable features on certain devices
if [ ! -f "$XDG_CONFIG_HOME"/dot_profile ]; then
export SYSTEM_PROFILE="DEFAULT"
else
source "$XDG_CONFIG_HOME"/dot_profile
. "$XDG_CONFIG_HOME"/dot_profile
fi
source .config/bashrc
. .config/bashrc

View File

@ -2,12 +2,12 @@
mon-on
if [ $SYSTEM_PROFILE == "MINIMAL" ]; then
if [ $SYSTEM_PROFILE = "MINIMAL" ]; then
dwm
exit
fi
if [ $SYSTEM_PROFILE == "DEFAULT" ]; then
if [ $SYSTEM_PROFILE = "DEFAULT" ]; then
picom &
fi
xwallpaper --center .config/wall.png
@ -16,7 +16,7 @@ wallpaper
xss-lock -- slock &
dunst &
xrdb .Xresources
gentoo-pipewire-launcher &
# gentoo-pipewire-launcher &
# DBus
export NO_AT_BRIDGE=1