.xinitrc update
This commit is contained in:
parent
334b056961
commit
1300ba1928
25
.xinitrc
25
.xinitrc
|
@ -1,27 +1,32 @@
|
|||
# hiDPI
|
||||
test -f ~/.Xresources && xrdb -merge -I$HOME ~/.Xresources
|
||||
test -f $HOME/.Xresources && xrdb -merge $HOME/.Xresources
|
||||
|
||||
# my keyboards
|
||||
test -f ~/.xinitrc-keyboard && ~/.xinitrc-keyboard
|
||||
setxkbmap -layout us,us -variant ,intl -option grp:rctrl_rshift_toggle
|
||||
|
||||
# my monitors
|
||||
test -f ~/.xinitrc-xrandr && ~/.xinitrc-xrandr
|
||||
xrandr --output DVI-D-1 --primary --mode 1920x1080 --scale 1x1
|
||||
xrandr --output HDMI-0 --mode 3840x2160 --scale 1x1 --right-of DVI-D-1
|
||||
|
||||
# background
|
||||
feh --bg-scale /home/patrick/perso/wallpapers/20190303_les_filles.jpg
|
||||
|
||||
# add ssh keys at
|
||||
eval $(ssh-agent)
|
||||
|
||||
# tools
|
||||
# status
|
||||
slstatus &
|
||||
|
||||
eval $(ssh-agent)
|
||||
|
||||
|
||||
# restart with Alt-Shift-Q
|
||||
## restart with Alt-Shift-Q
|
||||
## (only in debug process because make dwm slow not using exec)
|
||||
# while true
|
||||
# do
|
||||
# dwm 2> ~/.dwm.log
|
||||
# dwm 2> $HOME/.dwm.log
|
||||
# done
|
||||
|
||||
# or do a simple exec
|
||||
exec ssh-agent dwm 2> ~/.dwm.log
|
||||
## or do a simple exec
|
||||
# eval $(gpg-agent --daemon) #DONT NEED TO LAUNCH IT
|
||||
exec dwm 2> $HOME/.dwm.log
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue