mirror of
https://github.com/mintycube/dotfiles.git
synced 2024-10-22 14:05:41 +02:00
895fe1ddb8
Update nvim lauch dwm via dbus-lauch in xinitrc use setsid for editing dwmblocks scripts
19 lines
652 B
Bash
Executable File
19 lines
652 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# xinitrc runs automatically when you run startx.
|
|
|
|
# There are some small but important commands that need to be run when we start
|
|
# the graphical environment. There is a link to this file in ~/.xprofile
|
|
# because that file is run automatically if someone uses a display manager
|
|
# (login screen) and so they are needed there. To prevent doubling up commands,
|
|
# I source them here with the line below.
|
|
|
|
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then
|
|
. "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
|
|
else
|
|
. "$HOME/.xprofile"
|
|
fi
|
|
# Activate dbus variables
|
|
dbus-update-activation-environment --all
|
|
dbus-launch ssh-agent dwm
|