.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
|
export KEEPASSDB="$HOME"/dox/sec/pass.kdbx
|
||||||
# Identity (see ~/.local/bin/identity.sh)
|
# Identity (see ~/.local/bin/identity.sh)
|
||||||
if [ -r "$XDG_CONFIG_HOME"/identity ]; then
|
if [ -r "$XDG_CONFIG_HOME"/identity ]; then
|
||||||
source "$XDG_CONFIG_HOME"/identity
|
. "$XDG_CONFIG_HOME"/identity
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Profile to enable/disable features on certain devices
|
# Profile to enable/disable features on certain devices
|
||||||
if [ ! -f "$XDG_CONFIG_HOME"/dot_profile ]; then
|
if [ ! -f "$XDG_CONFIG_HOME"/dot_profile ]; then
|
||||||
export SYSTEM_PROFILE="DEFAULT"
|
export SYSTEM_PROFILE="DEFAULT"
|
||||||
else
|
else
|
||||||
source "$XDG_CONFIG_HOME"/dot_profile
|
. "$XDG_CONFIG_HOME"/dot_profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source .config/bashrc
|
. .config/bashrc
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
mon-on
|
mon-on
|
||||||
|
|
||||||
if [ $SYSTEM_PROFILE == "MINIMAL" ]; then
|
if [ $SYSTEM_PROFILE = "MINIMAL" ]; then
|
||||||
dwm
|
dwm
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $SYSTEM_PROFILE == "DEFAULT" ]; then
|
if [ $SYSTEM_PROFILE = "DEFAULT" ]; then
|
||||||
picom &
|
picom &
|
||||||
fi
|
fi
|
||||||
xwallpaper --center .config/wall.png
|
xwallpaper --center .config/wall.png
|
||||||
@ -16,7 +16,7 @@ wallpaper
|
|||||||
xss-lock -- slock &
|
xss-lock -- slock &
|
||||||
dunst &
|
dunst &
|
||||||
xrdb .Xresources
|
xrdb .Xresources
|
||||||
gentoo-pipewire-launcher &
|
# gentoo-pipewire-launcher &
|
||||||
|
|
||||||
# DBus
|
# DBus
|
||||||
export NO_AT_BRIDGE=1
|
export NO_AT_BRIDGE=1
|
||||||
|
Loading…
Reference in New Issue
Block a user