fix: dbus launch

This commit is contained in:
hesam-init 2024-03-16 10:00:19 +03:30
parent 3843f98087
commit 76cd51a2b3
13 changed files with 15 additions and 3 deletions

View file

@ -3,7 +3,6 @@
# -----------------------------------------------------
# background services :
exec-once = export $(dbus-launch) &
exec-once = dbus-update-activation-environment --all &
exec-once = ~/.config/hypr/scripts/keyring-launch.sh &
exec-once = sleep 1 && pipewire &

12
configs/sh/.bashrc Normal file
View file

@ -0,0 +1,12 @@
# .bashrc
export $(dbus-launch)
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
. "$HOME/.cargo/env"
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh
eval "$(atuin init bash)"

View file

@ -1,3 +1,4 @@
export $(dbus-launch)
export ZELLIJ_START=false
export ZSH="$HOME/.oh-my-zsh"
export OS_ID="$(grep -i -w 'ID=' /etc/os-release | awk -F= '{print $2}')"

View file

@ -51,7 +51,7 @@ unstow_shortcuts() {
stow_dotfiles() {
create_symlinks $configs_dir/dotfiles ~/.config
create_symlinks $configs_dir/zsh ~/
create_symlinks $configs_dir/sh ~/
echo "Dotfiles stowed successfully!"
}
@ -69,7 +69,7 @@ unstow_dotfiles() {
fi
done
for config in $configs_dir/zsh/.*; do
for config in $configs_dir/sh/.*; do
if [ -f $config ]; then
local file_name=$(basename $config)
local target_file=~/$file_name