summaryrefslogtreecommitdiff
path: root/.xinitrc
blob: 7065cfbe9a52844b0dcec5e883e68f15c896089f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/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/.local/bin/statusbar ]; then
  . $HOME/.local/bin/statusbar
fi

# exec ck-launch-session dbus-launch --exit-with-session /usr/local/bin/dwm

# export GTK_IM_MODULE='ibus'
# export QT_IM_MODULE='ibus'
# export XMODIFIERS='@im=ibus'

rfkill block all

# ibus-daemon -dxrR

xrandr --auto --output HDMI-A-0 --mode 1920x1080 --primary
xrandr --auto --output DisplayPort-2 --mode 1600x900 --left-of HDMI-A-0

xset s off -dpms

setxkbmap -option "ctrl:nocaps"

xwallpaper --maximize "$(/usr/bin/ls -d -1 /hdd/pics/wallpaper/* | shuf -n1)" &

picom --config $HOME/.config/picom/picom.conf -b

exec dwm