Fix autostart, sourcing and shellcheck issues

This commit is contained in:
Tobias Reisinger 2023-01-02 21:08:50 +01:00
parent 5baac728fe
commit 499c012601
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 7 additions and 7 deletions

View file

@ -97,7 +97,7 @@ shopt -s checkwinsize
source "$HOME/.config/environment" source "$HOME/.config/environment"
source "$HOME/.config/completionsrc" source "$HOME/.config/completionsrc"
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" source "$HOME/.config/aliasrc"
[ -x "$(command -v thefuck)" ] && eval "$(thefuck --alias)" [ -x "$(command -v thefuck)" ] && eval "$(thefuck --alias)"
[ -x "$(command -v starship)" ] && eval "$(starship init bash)" [ -x "$(command -v starship)" ] && eval "$(starship init bash)"

View file

@ -81,6 +81,9 @@ _autostart_run_xorg () {
xrdb "$HOME/.Xresources" xrdb "$HOME/.Xresources"
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x xcompmgr > /dev/null || xcompmgr -cnfFn -D3 &
start-audio pipewire start-audio pipewire
wait-for-service "network-online.target" wait-for-service "network-online.target"

View file

@ -2,10 +2,6 @@
. "$HOME/.config/environment" . "$HOME/.config/environment"
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x xcompmgr > /dev/null || xcompmgr -cnfFn -D3 &
bspc config remove_disabled_monitors true bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true bspc config remove_unplugged_monitors true

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
set -a set -a
. "/etc/profile" #. "/etc/profile"
. "$HOME/.config/user-dirs.dirs" . "$HOME/.config/user-dirs.dirs"
. "$XDG_CONFIG_HOME/locale.conf" . "$XDG_CONFIG_HOME/locale.conf"
set +a set +a

View file

@ -1 +1,2 @@
disable=1091 disable=SC1091
disable=SC2016