Added new .xinitrc back to repo.
This commit is contained in:
parent
24658cd387
commit
418ac74903
2 changed files with 25 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -40,7 +40,7 @@
|
||||||
!.vim
|
!.vim
|
||||||
!.vim/**
|
!.vim/**
|
||||||
.vim/.netrwhist
|
.vim/.netrwhist
|
||||||
#!.xinitrc
|
!.xinitrc
|
||||||
!.zoha.toml
|
!.zoha.toml
|
||||||
!.zsh
|
!.zsh
|
||||||
!.zsh/**
|
!.zsh/**
|
||||||
|
|
|
||||||
24
.xinitrc
Normal file
24
.xinitrc
Normal 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
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue