Fix autostart, sourcing and shellcheck issues
This commit is contained in:
parent
5baac728fe
commit
499c012601
5 changed files with 7 additions and 7 deletions
2
.bashrc
2
.bashrc
|
@ -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)"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
disable=1091
|
disable=SC1091
|
||||||
|
disable=SC2016
|
||||||
|
|
Loading…
Reference in a new issue