-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstartup.sh
More file actions
executable file
·40 lines (31 loc) · 1.09 KB
/
startup.sh
File metadata and controls
executable file
·40 lines (31 loc) · 1.09 KB
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
#!/bin/sh
# wm agnostic commands to run at startup
# set the default cursor
xsetroot -cursor_name left_ptr
# set the Xresources content
xrdb -merge /home/adam/.Xresources
# start the polybar instances
$HOME/.config/polybar/launch.sh
# set the siji pcf hashing
xset +fp $HOME/.local/share/fonts && xset fp rehash
# fix the F keys
xmodmap -e "keycode 232 = F1" &&
xmodmap -e "keycode 233 = F2" &&
xmodmap -e "keycode 128 = F3" &&
xmodmap -e "keycode 212 = F4" &&
xmodmap -e "keycode 237 = F5" &&
xmodmap -e "keycode 238 = F6" &&
xmodmap -e "keycode 173 = F7" &&
xmodmap -e "keycode 172 = F8" &&
xmodmap -e "keycode 171 = F9" &&
xmodmap -e "keycode 121 = F10" &&
xmodmap -e "keycode 122 = F11" &&
xmodmap -e "keycode 123 = F12"
# set the xrandr screen layout
# $HOME/.screenlayout/current
# set the background image
feh --bg-fill $HOME/backgrounds/background
# set the mouse to move quicker
# xinput --set-prop "Logitech M570" "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1
xinput --set-prop "Logitech M570" "Device Accel Profile" 2
xinput --set-prop "Logitech M570" "Device Accel Velocity Scaling" 15