summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-rwxr-xr-x.xinitrc33
1 files changed, 33 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
new file mode 100755
index 0000000..efc55a5
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+ for f in /etc/X11/xinit/xinitrc.d/*; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+if [ -f /home/cafebabe/.scripts/statusbar.sh ]; then
+ . /home/cafebabe/.scripts/statusbar.sh
+fi
+
+export GTK_IM_MODULE='ibus'
+export QT_IM_MODULE='ibus'
+export XMODIFIERS='@im=ibus'
+
+dbus-update-activation-environment \
+ --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
+
+rfkill block all
+
+ibus-daemon -dxrR
+
+xrandr --auto --output HDMI-A-0 --mode 1920x1080 --primary
+xrandr --auto --output DisplayPort-2 --mode 1600x900 --right-of HDMI-A-0
+
+xwallpaper --maximize "$(/usr/bin/ls -d -1 /media/HDD/Pictures/Wallpaper/* | shuf -n1)" &
+
+compton --config /home/cafebabe/.config/compton/compton.conf -b
+
+exec dwm
+