dotfiles

My dotfiles for Arch Linux
git clone git://git.janispagel.de/dotfiles.git
Log | Files | Refs | README

dot-xinitrc (1132B)


      1 #!/bin/bash -x
      2 
      3 # xset
      4 xset +fp /usr/share/fonts/local
      5 xset fp rehash
      6 xset -b # disable system bell
      7 xset r rate 300 50 & # Speed xrate up
      8 
      9 eval `/usr/bin/ssh-agent`
     10 if test -f /usr/lib/openssh/x11-ssh-askpass
     11 then
     12 	SSH_ASKPASS=/usr/lib/openssh/x11-ssh-askpass ssh-add < /dev/null
     13 fi
     14 
     15 # Setup
     16 xrdb -merge ~/.Xresources # Read Xresources
     17 xmodmap ~/.Xmodmap
     18 setxkbmap -layout de # Set keyboard layout
     19 xwallpaper --zoom ~/.wallpaper.png # Set wallpaper
     20 light -S 50 # Dim screen
     21 wmname LG3D # Trick java into behaving reasonably
     22 sxhkd & # Use cumstomized keybindings
     23 
     24 # Autostart
     25 xautolock -time 30 -locker slock & # Automatic screen lock
     26 clipmenud & # Nice clipboard using dmenu
     27 pgrep redshift &> /dev/null || redshift -l 48:9 -t 6500:3000 &> /dev/null & # For dimmed display at night
     28 #xcompmgr & # start composition manager
     29 #nohup mons -a > /dev/null 2>&1 & # Re-establishs the display if it detects only one monitor
     30 stalonetray &> /dev/null & # Starts icon tray service
     31 megasync &> /dev/null & # Start mega sync service
     32 dropbox &> /dev/null & # Start dropbox sync
     33 mpd &> /dev/null & # Start mpd
     34 
     35 # Set window/desktop manager
     36 exec dwm