-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xinitrc
65 lines (42 loc) · 1.12 KB
/
.xinitrc
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/sh
# Source scripts in /etc/X11/xinit/xinitrc.d/
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
# shellcheck disable=SC1090
[ -x "$f" ] && . "$f"
done
unset f
fi
xdg-user-dirs-update
xrdb -merge "${HOME}/.Xdefaults"
if is-laptop; then
xrdb -merge "${HOME}/.Xdefaults.laptop"
xinput set-prop "TPPS/2 Elan TrackPoint" "libinput Accel Speed" -0.6
xmodmap "${HOME}/.xmodmap.laptop"
on_ac_power && rfkill block wlan
# disable yubikey by default to avoid accidental inputs
yubi off
enable-monitor
fi
urxvtd -q -f -o
gnome-keyring-daemon --start --components=secrets
/usr/libexec/xdg-desktop-portal-gtk -r &
/usr/libexec/xdg-desktop-portal -r &
xbindkeys
screensaver &
pipewire &
xplugd
my-redshift &
# copy/paste manager
parcellite &
# notifications
dunst &
# set pointer speed
xinput set-prop 'Clearly Superior Technologies. CST Laser Trackball' 'libinput Accel Speed' -0.5
xinput set-prop 'TPPS/2 Elan TrackPoint' 'libinput Accel Speed' 0
# enable DPMS
xset dpms 1200 1200 0
# mute mic by default
mic-off
rm -f .ssh/environment-*
exec i3