Files
dotfiles/.config/x11/xinitrc

16 lines
661 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. I keep those commands in ~/config/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.
export STATUSBAR="i3blocks"
[[ -f ${XDG_CONFIG_HOME:-$HOME/.config}/x11/Xresources ]] && xrdb -merge -I${XDG_CONFIG_HOME:-$HOME/.config}/x11/Xresources
. ~/.xprofile
dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY
ssh-agent i3