SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 63 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.     xrdb -merge $sysresources
  14.  
  15. fi
  16.  
  17. if [ -f $sysmodmap ]; then
  18.     xmodmap $sysmodmap
  19. fi
  20.  
  21. if [ -f "$userresources" ]; then
  22.  
  23.  
  24.  
  25.     xrdb -merge "$userresources"
  26.  
  27. fi
  28.  
  29. if [ -f "$usermodmap" ]; then
  30.     xmodmap "$usermodmap"
  31. fi
  32.  
  33. # start some nice programs
  34.  
  35. if [ -d /etc/X11/xinit/xinitrc.d ] ; then
  36.  for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  37.   [ -x "$f" ] && . "$f"
  38.  done
  39.  unset f
  40. fi
  41.  
  42. # exec xmodmap /home/denis/.xmodmap-hunter2
  43. # exec xinput set-prop SynPS/2\ Synaptics\ TouchPad "libinput Tapping Enabled" 1
  44.  
  45. # Disable capslock and remap k and l
  46. # setxkbmap -option caps:none
  47. # xmodmap -e "keycode 66 = Control_R"
  48.  
  49. # i3 Session
  50. # export DESKTOP_SESSION=gnome
  51. # [ "$XDG_CURRENT_DESKTOP" = "XFCE" ] || [ "$XDG_CURRENT_DESKTOP" = "gnome" ] || # export QT_QPA_PLATFORMTHEME="qt5ct"
  52. # QT_QPA_PLATFORMTHEME=gtk2
  53.  
  54. # export DE="xfce"
  55. # export QT_SELECT=5
  56. # export QT_STYLE_OVERRIDE=kvantum
  57. # -R restores the last colorscheme that was in use.
  58. # wal -R
  59. # exec i3
  60.  
  61. # BSPWM
  62. # bspwm
  63.  
  64. # xrdb -merge ~/.Xresources
  65. # udiskie --tray &
  66.  
  67. # exec openbox-session
  68. # exec startkde
  69. # exec startxfce4
  70. exec startdde
  71. # exec awesome
  72.  
  73. # OnlyShowIn=Pantheon;
  74. # exec cerbere
  75.  
  76.  
  77. # Remap ESC
  78. # exec xbindkeys
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top