Added new .xinitrc back to repo.

This commit is contained in:
Johannes Findeisen 2024-09-02 00:44:33 +02:00
commit 418ac74903
2 changed files with 25 additions and 1 deletions

2
.gitignore vendored
View file

@ -40,7 +40,7 @@
!.vim
!.vim/**
.vim/.netrwhist
#!.xinitrc
!.xinitrc
!.zoha.toml
!.zsh
!.zsh/**

24
.xinitrc Normal file
View file

@ -0,0 +1,24 @@
#!/bin/sh
source /home/hanez/.env
/home/hanez/.screenlayout/default.sh
if [[ "$1" == "xterm" ]]; then
shift
fi
case $1 in
awesome)
exec dbus-launch awesome
;;
qtile)
while true; do
exec dbus-launch qtile start
done
;;
*)
exec dbus-launch $DEFAULT_SESSION
;;
esac