diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-07 07:26:43 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-07 07:26:43 +0530 |
commit | 53bbe3edc409e539cc968a20d7a3302e4978367e (patch) | |
tree | fb81c019720204c77fde139f269edfb5ba6c41ae /.xinitrc | |
parent | a24e985ed2c40e2522620c17d61d7f28b94142f8 (diff) |
switched back to TTY login and zprofile/xinitrc
Diffstat (limited to '.xinitrc')
-rwxr-xr-x | .xinitrc | 29 |
1 files changed, 16 insertions, 13 deletions
@@ -7,21 +7,13 @@ sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps -if [ -f $sysresources ]; then - xrdb -merge $sysresources -fi +[ -f $sysresources ] && xrdb -merge $sysresources -if [ -f $sysmodmap ]; then - xmodmap $sysmodmap -fi +[ -f $sysmodmap ] && xmodmap $sysmodmap -if [ -f "$userresources" ]; then - xrdb -merge "$userresources" -fi +[ -f "$userresources" ] && xrdb -merge "$userresources" -if [ -f "$usermodmap" ]; then - xmodmap "$usermodmap" -fi +[ -f "$usermodmap" ] && xmodmap "$usermodmap" # start some nice programs @@ -34,5 +26,16 @@ fi nitrogen --restore & picom & +dunst & +#xmodmap .Xmodmap + +echo $1 >> /tmp/pepe + +case $1 in + xmonad) exec xmonad ;; + openbox) exec openbox-session ;; + *) exec xmonad ;; +esac + -exec xmonad +# exec xmonad |