From 1300ba19288bc03acb5a0f45d6755c57b699f355 Mon Sep 17 00:00:00 2001 From: masterzu Date: Tue, 2 Apr 2019 16:45:16 +0200 Subject: [PATCH] .xinitrc update --- .xinitrc | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.xinitrc b/.xinitrc index a44c645..631bdc0 100644 --- a/.xinitrc +++ b/.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 +