From 5afc94400e3ba56a83aeac56920a1038b59e3008 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Sun, 4 Sep 2022 22:41:06 +0200 Subject: removed displays from neofetch & added xinitrc for dwm --- .xinitrc | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 .xinitrc (limited to '.xinitrc') 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 + -- cgit v1.2.3