commit 92f846b262ce81df1dd81e1fd6723289c1d19d2a parent bd6b41082405d63501eb6294c658d5a862e6c415 Author: MichaelDim02 <31562759+MichaelDim02@users.noreply.github.com> Date: Thu, 29 Oct 2020 23:14:25 +0000 Create .xinitrc Diffstat:
A | .xinitrc | | | 39 | +++++++++++++++++++++++++++++++++++++++ |
1 file changed, 39 insertions(+), 0 deletions(-)
diff --git a/.xinitrc b/.xinitrc @@ -0,0 +1,39 @@ +#!/bin/sh +# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/usr/X11R6/lib/X11/xinit/.Xresources +sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f $userresources ]; then + xrdb -merge $userresources +fi + +if [ -f $usermodmap ]; then + xmodmap $usermodmap +fi + +# Layout + +setxkbmap -layout us,gr +setxkbmap -option 'grp:alt_shift_toggle' + +# Execute DWM + +exec i3 +exec i3-gaps +start-pulseaudio-x11 +pulseaudio --start +exec batsignal +exec dmenu