SHARE
TWEET

.xinitrc NEW

a guest Feb 9th, 2019 9 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. userresources=$HOME/.Xresources
  4. usermodmap=$HOME/.Xmodmap
  5. sysresources=/etc/X11/xinit/.Xresources
  6. sysmodmap=/etc/X11/xinit/.Xmodmap
  7.  
  8. # merge in defaults and keymaps
  9.  
  10. if [ -f $sysresources ]; then
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.     xrdb -merge $sysresources
  19.  
  20. fi
  21.  
  22. if [ -f $sysmodmap ]; then
  23.     xmodmap $sysmodmap
  24. fi
  25.  
  26. if [ -f "$userresources" ]; then
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.     xrdb -merge "$userresources"
  35.  
  36. fi
  37.  
  38. if [ -f "$usermodmap" ]; then
  39.     xmodmap "$usermodmap"
  40. fi
  41.  
  42. # start some nice programs
  43.  
  44. if [ -d /etc/X11/xinit/xinitrc.d ] ; then
  45.  for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  46.   [ -x "$f" ] && . "$f"
  47.  done
  48.  unset f
  49. fi
  50.  
  51. #########################
  52. #### MY STUPID STUFF ####
  53. #########################
  54.  
  55. QT_QPA_PLATFORMTHEME=gtk2
  56. feh --bg-center Desktop/trees_evening_sky_horizon_119573_3840x2160.jpg
  57. exec i3
  58.  
  59. #########################
  60. ## END OF STUPID STUFF ##
  61. #########################
  62.  
  63. #twm &
  64. #xclock -geometry 50x50-1+1 &
  65. #xterm -geometry 80x50+494+51 &
  66. #xterm -geometry 80x20+494-0 &
  67. #exec xterm -geometry 80x66+0+0 -name login
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top