aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.xinitrc33
1 files changed, 33 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..5701a83
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,33 @@
+#!/usr/bin/env sh
+# vi: ft=sh
+
+feh --auto-reload --bg-fill $HOME/Pictures/wall.png &
+
+dunst &
+/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
+nm-applet &
+blueman-applet &
+thunar --daemon &
+#pipewire &
+#pipewire-pulse &
+
+# Set up touchpad controls
+
+# Libinput
+TID=$(xinput | sed -n 's/.*Touchpad.*id=\([0-9]*\).*/\1/p')
+#xinput --set-prop $TID 'libinput Accel Speed' 0.5
+xinput --set-prop $TID 'libinput Tapping Enabled' 1 &
+xinput --set-prop $TID 'libinput Natural Scrolling Enabled' 1 &
+
+# Synapse
+#TID=`xinput list | grep "SynPS/2 Synaptics TouchPad" | sed 's/.*id=\([0-9]*\).*/\1/g'`
+#PROP_NO=`xinput list-props ${TID} | grep "Synaptics Scrolling Distance" | sed 's/.*(\([0-9]*\)).*/\1/g'`
+#xinput --set-prop $TID 'Synaptics Tap Action' 1
+#xinput set-prop ${TID} ${PROP_NO} -106 -106
+
+#bspc monitor -d I II III IV V VI VII VIII IX X
+xrandr --output eDP1 --primary --auto
+xrandr --output HDMI1 --same-as eDP1 --auto
+
+exec i3
+