aboutsummaryrefslogtreecommitdiff
path: root/.local/etc
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-07-17 11:30:31 +0200
committerPatrick Spek <p.spek@tyil.nl>2021-08-14 11:59:40 +0200
commitca69a254f8351e0a23c86ee8075a33ec8c7e7503 (patch)
treee21013d177be70c254211c92fc95bd9ecebdb671 /.local/etc
parent9f6c0fbbdbd0d60ac629f0c38effd97a3ff48b6b (diff)
Update X configs
Diffstat (limited to '.local/etc')
-rw-r--r--.local/etc/x/xinit.d/awesome.rc5
-rw-r--r--.local/etc/x/xinit.d/ob.rc8
-rw-r--r--.local/etc/x/xinitrc42
3 files changed, 55 insertions, 0 deletions
diff --git a/.local/etc/x/xinit.d/awesome.rc b/.local/etc/x/xinit.d/awesome.rc
new file mode 100644
index 0000000..96a165c
--- /dev/null
+++ b/.local/etc/x/xinit.d/awesome.rc
@@ -0,0 +1,5 @@
+sxhkd &
+chwp &
+xcompmgr &
+
+exec dbus-launch --exit-with-session awesome
diff --git a/.local/etc/x/xinit.d/ob.rc b/.local/etc/x/xinit.d/ob.rc
new file mode 100644
index 0000000..36c86d7
--- /dev/null
+++ b/.local/etc/x/xinit.d/ob.rc
@@ -0,0 +1,8 @@
+sxhkd &
+chwp &
+
+xcompmgr &
+
+tint2 &
+
+exec dbus-launch --exit-with-session openbox-session
diff --git a/.local/etc/x/xinitrc b/.local/etc/x/xinitrc
new file mode 100644
index 0000000..77edd40
--- /dev/null
+++ b/.local/etc/x/xinitrc
@@ -0,0 +1,42 @@
+# start dbus if necessary
+[ -f "/etc/X11/xinit/xinitrc.d/80-dbus" ] && source /etc/X11/xinit/xinitrc.d/80-dbus
+
+# start polkit auth agent
+eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
+export GNOME_KEYRING_PID
+export GNOME_KEYRING_SOCKET
+export SSH_AUTH_SOCK
+
+# extend the fontpath
+xset +fp ~/.fonts/Terminus/BDF
+#xset +fp /usr/share/fonts/local
+
+# set the default mousepointer
+xsetroot -cursor_name left_ptr
+
+# load the .Xresources
+xrdb -merge ~/.Xresources
+
+# xkbmap options
+setxkbmap \
+ -layout us \
+ \
+ -option compose:menu \
+ -option caps:escape
+
+# add altgr
+xmodmap -e "keycode 108 = ISO_Level3_Shift"
+
+# Enable sound through PulseAudio
+pulseaudio --start
+
+# set a wallpaper
+chwp &
+
+# start background processes
+redshift -l 51.50:4.59 &
+dunst &
+sxhkd &
+
+# Start x11vnc
+x11vnc -display "$DISPLAY" &