.xinitrc, .profile: make POSIX-compliant
This commit is contained in:
parent
b8b0048e00
commit
e49433d53c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user