blob: e61b147795b874eee72e595310a61c1366a7af52 (
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
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
|
#!/bin/bash
# #
# ## ~/.xinitrc ## #
# #
#xrandr --output HDMI-1-0 --mode 3840x2160 -r 120 &
#xrandr --output HDMI-0 --mode 3840x2160 -r 120 &
xrandr --output HDMI-0 --mode 1920x1080 -r 240 &
xrandr --output HDMI-1-0 --mode 1920x1080 -r 240 &
xrandr -s 1920x1080 -r 144 & # target screen resolution
xset r rate 300 30 & # key repeat delay and speed
xrdb merge ~/.Xresources # asset resources
picom & # compositor
# #
# ## more stuff ## #
# #
feh --bg-fill --no-fehbg ~/.config/backgrounds/darkflowers.jpg & # wallpaper
libinput-gestures-setup start & # Prevent accidental touch
synclient ClickPad=1 # buttonless pad
synclient VertTwoFingerScroll=1 # enable vert scroll
synclient HorizTwoFingerScroll=1 # enable horiz scroll
synclient EmulateTwoFingerMinZ=300 # precision of scroll
synclient EmulateTwoFingerMinW=300 # precision of scroll
synclient PalmDetect=1 # palm rejection
synclient PalmMinWidth=10 # size parameter
synclient PalmMinZ=200 # pressure param
synclient VertScrollDelta=-200 # natural vert
synclient HorizScrollDelta=-200 # natural horiz
synclient CornerCoasting=0 # eliminate coasting
synclient CoastingSpeed=0 # eliminate coasting
synclient TapButton1=1 TapButton2=3 ClickFinger3=0 # tap to click
synclient MinSpeed=1.25 MaxSpeed=2.5 # pointer speed
synclient AccelFactor=0.025 # acceleration
amixer --card 0 set 'Master' 100 & # audio volume
amixer --card 0 set 'Mic Boost' 0 & # mic boost volume
amixer --card 0 set 'Capture' 39 & # capture volume
sxhkd -c $HOME/.config/keybinds & # keybindings
xautolock -time 10 -locker lock & # xautolock screen in x minutes
# lock is a custom script that locks the screen (~/.config/lock)
syncthing serve --no-browser &>/dev/null & # start syncthing server
eval $(dbus-launch --sh-syntax --exit-with-x11) # dbus session
dbus-run-session pipewire & # audio server
slstatus & # statusbar
exec dbus-launch --exit-with-session dwm # window manager
|