aboutsummaryrefslogtreecommitdiff
path: root/.config/X11/xinitrc
blob: c1daa6c541a11934e354b90f3f4998c6dc717b8d (plain) (blame)
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
#!/bin/sh

# Input
setxkbmap pl -option 'caps:ctrl_modifier'
xcape -e 'Caps_Lock=Escape'
toggle-trackpad disable
sxhkd &

# Xorg
picom &
unclutter --timeout 5 --jitter 2 &
xrdb -load "${XDG_CONFIG_HOME:-$HOME/.config}/X11/Xresources"
xwallpaper --daemon --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper"

# Polkit
# shellcheck disable=SC2091
$(grep Exec= /etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop | cut -d "=" -f 2) &

# Daemons
nm-applet &

# Other
dbus-update-activation-environment --systemd --all
"${XDG_CONFIG_HOME:-$HOME/.config}/gsettings/config"
/usr/lib/gsd-xsettings &

while :; do
	dwmblocks &
	dwm
done