dwm: add .xinitrc and .Xresources to enable auto run in startx
This commit is contained in:
parent
8393bc2f16
commit
8517ba6699
|
@ -0,0 +1,3 @@
|
|||
Xft.dpi: 180
|
||||
Xft.autohint: 1
|
||||
Xft.antialias: 1
|
|
@ -0,0 +1,27 @@
|
|||
# hiDPI
|
||||
test -f ~/.Xresources && xrdb -merge -I$HOME ~/.Xresources
|
||||
|
||||
# my keyboards
|
||||
test -f ~/.xinitrc-keyboard && ~/.xinitrc-keyboard
|
||||
|
||||
# my monitors
|
||||
test -f ~/.xinitrc-xrandr && ~/.xinitrc-xrandr
|
||||
|
||||
# add ssh keys at
|
||||
eval $(ssh-agent)
|
||||
|
||||
# tools
|
||||
# status
|
||||
slstatus &
|
||||
|
||||
|
||||
|
||||
# restart with Alt-Shift-Q
|
||||
# while true
|
||||
# do
|
||||
# dwm 2> ~/.dwm.log
|
||||
# done
|
||||
|
||||
# or do a simple exec
|
||||
exec ssh-agent dwm 2> ~/.dwm.log
|
||||
|
|
@ -0,0 +1 @@
|
|||
setxkbmap -layout us,us -variant ,intl -option grp:rctrl_rshift_toggle
|
|
@ -0,0 +1,2 @@
|
|||
xrandr --output DVI-D-1 --primary --mode 1920x1080 --scale 1x1
|
||||
xrandr --output HDMI-0 --mode 3840x2160 --scale 1x1 --right-of DVI-D-1
|
Loading…
Reference in New Issue