feat: dwm at startup
This commit is contained in:
parent
a6b96285b9
commit
f1fdfb2eb2
8 changed files with 25 additions and 12 deletions
21
.xinitrc
21
.xinitrc
|
@ -1,8 +1,21 @@
|
|||
#!/bin/sh
|
||||
|
||||
xrandr \
|
||||
--output eDP-1 --auto --primary \
|
||||
--output DP-1-2 --auto --pos 1920x0 \
|
||||
--output DP-1-3 --auto --pos 3840x0
|
||||
# keyboard
|
||||
setxkbmap us altgr-intl
|
||||
|
||||
# mouse
|
||||
(
|
||||
PROP='libinput Accel Profile Enabled'
|
||||
|
||||
for id in $(xinput list --id-only); do
|
||||
xinput set-prop "$id" "$PROP" 0, 1 2> /dev/null
|
||||
done
|
||||
)
|
||||
|
||||
# display
|
||||
xrandr \
|
||||
--output eDP-1 --auto --primary \
|
||||
--output DisplayPort-1-2 --auto --pos 1920x0 \
|
||||
--output DisplayPort-1-1 --auto --pos 3840x0
|
||||
|
||||
exec dwm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue