diff --git a/.xinitrc b/.xinitrc index 1d79c67..eb30bb1 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,8 +1,9 @@ #!/bin/sh -[ -f "$HOME/.xprofile" ] && . ~/.xprofile +[ -f "$HOME/.xprofile" ] && xrdb -merge "$HOME/.xprofile" [ -f "$HOME/.Xdefaults" ] && xrdb -merge "$HOME/.Xdefaults" [ -f "$HOME/.Xpcspec" ] && xrdb -merge "$HOME/.Xpcspec" + xterm -geometry 80x24+10+10 -fn 10x20 exec i3 diff --git a/.xprofile b/.xprofile new file mode 100644 index 0000000..84bf7c7 --- /dev/null +++ b/.xprofile @@ -0,0 +1,13 @@ +#!/bin/sh + +setbg & # Set the background +sxhkd & # Bind keys +# Switch to US international with Caps as Mod/Escape +setxkbmap -option caps:super -variant altgr-intl && killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' & +# Properties button extra Mod/Escape +xmodmap -e 'keycode 135 = Super_R' & +xset r rate 300 50 & # Speed xrate up +unclutter & # Remove mouse when idle +xcompmgr & # xcompmgr for transparency +dunst & # dunst for notifications +mpdupdate &