aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-12 17:52:42 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-12 17:52:42 +0530
commit26d7c6ec6088790921c6cdd36925cac9d438c859 (patch)
tree510bcf52f6653042f539c78c566d323f8222a2d5 /.xinitrc
parent5cd0cb39ca6380b4b4f6e2fb4b79e12dbc333c63 (diff)
Pushing basic bspwm config
Diffstat (limited to '.xinitrc')
-rwxr-xr-x.xinitrc11
1 files changed, 2 insertions, 9 deletions
diff --git a/.xinitrc b/.xinitrc
index af926dd..05049bd 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -6,17 +6,11 @@ sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
-
[ -f $sysresources ] && xrdb -merge $sysresources
-
[ -f $sysmodmap ] && xmodmap $sysmodmap
-
[ -f "$userresources" ] && xrdb -merge "$userresources"
-
[ -f "$usermodmap" ] && xmodmap "$usermodmap"
-# start some nice programs
-
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
@@ -24,6 +18,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
+# start some nice programs
lxsession&
nitrogen --restore &
picom &
@@ -31,9 +26,6 @@ dunst &
cbatticon &
[[ -f ~/.Xmodmap ]] && xmodmap .Xmodmap
-# launch this from wm or it'll crash
-# polybar mybar &
-
case $1 in
xmonad) exec xmonad ;;
# openbox) exec openbox-session & tint2 ;;
@@ -41,6 +33,7 @@ case $1 in
bspwm) exec bspwm ;;
herbstluftwm) exec herbstluftwm ;;
spectrwm) exec spectrwm ;;
+ awesome) exec awesome ;;
dwm) exec dwm ;;
*) exec xmonad ;;
esac