dotfiles

My dotfiles
git clone git://mcdim.xyz/dotfiles.git
Log | Files | Refs

.xinitrc (743B)


      1 #!bin/sh
      2 # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
      3 
      4 userresources=$HOME/.Xresources
      5 usermodmap=$HOME/.Xmodmap
      6 sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
      7 sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
      8 
      9 # merge in defaults and keymaps
     10 
     11 if [ -f $sysresources ]; then
     12     xrdb -merge $sysresources
     13 fi
     14 
     15 if [ -f $sysmodmap ]; then
     16     xmodmap $sysmodmap
     17 fi
     18 
     19 if [ -f $userresources ]; then
     20     xrdb -merge $userresources
     21 fi
     22 
     23 if [ -f $usermodmap ]; then
     24     xmodmap $usermodmap
     25 fi
     26 
     27 ## Layout
     28 setxkbmap -layout us,gr
     29 setxkbmap -option 'grp:alt_shift_toggle'
     30 
     31 ## Pulseaudio
     32 start-pulseaudio-x11
     33 pulseaudio --start
     34 
     35 ## bindings
     36 sxhkd &
     37 
     38 ## dunst
     39 dunst &
     40 
     41 ## compton
     42 compton &
     43 
     44 ## batsignal
     45 batsignal &
     46 
     47 ## i3
     48 exec i3
     49 exec i3-gaps