Advertisement
s243a

.xinitrc LN#26-43 (tharpup)

May 6th, 2018
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.58 KB | None | 0 0
  1. # Ln#26-43 (resources) ~/.xinitrc (tharpup)
  2. # Ln#26-43 of https://github.com/puppylinux-woof-CE/woof-CE/blob/6956706d2d896a40c6049c462e89b415d870472d/woof-code/rootfs-skeleton/root/.xinitrc#L26 (15 Feb 2018)
  3. userresources=$HOME/.Xresources
  4. usermodmap=$HOME/.Xmodmap
  5. sysresources=/usr/lib/X11/xinit/Xresources
  6. sysmodmap=/usr/lib/X11/xinit/.Xmodmap
  7.  
  8. # merge in defaults and keymaps
  9.  
  10. if [ -f $sysresources ]; then
  11.     xrdb -merge -nocpp $sysresources
  12. fi
  13.  
  14. if [ -f $sysmodmap ]; then
  15.     xmodmap $sysmodmap
  16. fi
  17.  
  18. if [ -f $userresources ]; then
  19.     xrdb -merge -nocpp $userresources
  20. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement