1
0
Fork 0

switch to not using a display manager at all

This commit is contained in:
Von Random 2015-12-18 12:47:46 +03:00
parent cd9928de1a
commit caacc07196
2 changed files with 7 additions and 0 deletions

View file

@ -201,6 +201,10 @@ seconds-to-hr() {
} }
tmuxrc() { tmux source-file "${HOME}/.tmux.conf"; tmux display-message "Config reloaded."; } tmuxrc() { tmux source-file "${HOME}/.tmux.conf"; tmux display-message "Config reloaded."; }
if [[ -z "${DISPLAY}" ]]; then
x() { exec xinit -- :0 -nolisten tcp vt$XDG_VTNR; }
fi
# }}} # }}}
if is_zsh; then if is_zsh; then
# zsh # zsh

3
xinitrc Normal file
View file

@ -0,0 +1,3 @@
xrandr --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --output VGA1 --mode 1280x1024 --pos 1920x56
xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY
exec awesome