i3 STATUSBAR fix and xinitrc moved/linked

This commit is contained in:
Luke Smith 2020-04-20 16:41:33 -04:00
parent 6bcdd2bfca
commit eb76d8ed5d
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 22 additions and 20 deletions

21
.config/xinitrc Executable file
View file

@ -0,0 +1,21 @@
#!/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" # Uncomment this line when using i3.
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile"
# Your default LARBS WM is determined in your `~/.profile` on login. Here we
# run the proper command to run when the graphical environment starts.
# Comment/uncomment these lines depending on what wm you want to use. Also
# check the i3blocks line above.
ssh-agent dwm
# ssh-agent i3

View file

@ -1,20 +0,0 @@
#!/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.
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile"
# Your default LARBS WM is determined in your `~/.profile` on login. Here we
# run the proper command to run when the graphical environment starts.
exec dwm
# To use i3, comment out the line above with dwm and uncomment these two:
# export STATUSBAR="i3blocks"
# exec i3

1
.xinitrc Symbolic link
View file

@ -0,0 +1 @@
.config/xinitrc