summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/neofetch/config.conf2
-rwxr-xr-x.xinitrc33
2 files changed, 34 insertions, 1 deletions
diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf
index b0e11a2..e6880e5 100644
--- a/.config/neofetch/config.conf
+++ b/.config/neofetch/config.conf
@@ -10,7 +10,7 @@ print_info() {
info "Uptime" uptime
# info "Packages" packages
info "Shell" shell
- info "Resolution" resolution
+ # info "Resolution" resolution
info "DE" de
info "WM" wm
info "WM Theme" wm_theme
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
+