aboutsummaryrefslogtreecommitdiff
path: root/.local/etc/x/xinitrc
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-12-11 14:53:23 +0100
committerPatrick Spek <p.spek@tyil.nl>2023-12-11 14:53:23 +0100
commit8f45eed26b466083b17e2a2872a5983a95de1945 (patch)
tree6d13989c4e97d317dcb987740ede5787e808b724 /.local/etc/x/xinitrc
parentdb9b0cad45d8fd3312c071050a4cffb4340fcbe1 (diff)
Update awesome
Diffstat (limited to '.local/etc/x/xinitrc')
-rw-r--r--.local/etc/x/xinitrc35
1 files changed, 9 insertions, 26 deletions
diff --git a/.local/etc/x/xinitrc b/.local/etc/x/xinitrc
index 3b10135..4d17b98 100644
--- a/.local/etc/x/xinitrc
+++ b/.local/etc/x/xinitrc
@@ -1,3 +1,5 @@
+#!/bin/sh
+
# start dbus if necessary
[ -f "/etc/X11/xinit/xinitrc.d/80-dbus" ] && source /etc/X11/xinit/xinitrc.d/80-dbus
@@ -7,13 +9,6 @@ export GNOME_KEYRING_PID
export GNOME_KEYRING_SOCKET
export SSH_AUTH_SOCK
-# Export additional environment vars
-export WINIT_X11_SCALE_FACTOR=1
-
-# extend the fontpath
-xset +fp ~/.fonts/Terminus/BDF
-#xset +fp /usr/share/fonts/local
-
# set the default mousepointer
xsetroot -cursor_name left_ptr
@@ -39,23 +34,11 @@ setxkbmap \
# add altgr
xmodmap -e "keycode 108 = ISO_Level3_Shift"
-# Enable sound through PulseAudio
-pulseaudio --start
-
-# set a wallpaper
-chwp &
-
-# Turn off any screen blanking features
-xset s off
-xset -dpms
-
-# start background processes
-redshift -l 51.50:4.59 &
-dunst &
-sxhkd &
-
-# Set up a screenlock
-#xss-lock -- physlock -d &
+# Export variables for a better X11 experience
+export WINIT_X11_SCALE_FACTOR=1
-# Start x11vnc
-x11vnc -display "$DISPLAY" &
+# Autostart desired applications
+while read -r application
+do
+ $application &
+done < "$HOME/.local/etc/x/autostart"