Xresources (3586B)
1 ! $OpenBSD: Xresources.in,v 1.2 2019/04/16 05:51:04 matthieu Exp $ 2 ! 3 ! 4 ! 5 ! 6 ! 7 8 9 10 11 xlogin*login.translations: #override \ 12 <Key>F1: set-session-argument(failsafe) finish-field()\n\ 13 <Key>Left: move-backward-character()\n\ 14 <Key>Right: move-forward-character()\n\ 15 <Key>Home: move-to-begining()\n\ 16 <Key>End: move-to-end()\n\ 17 Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\ 18 <Key>KP_Enter: set-session-argument() finish-field()\n\ 19 Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\ 20 <Key>Return: set-session-argument() finish-field() 21 22 xlogin*greeting: CLIENTHOST 23 !xlogin*namePrompt: \040\040\040\040\040\040\040Login: 24 !defined later 25 xlogin*fail: Login incorrect or forbidden 26 27 #if WIDTH > 800 28 xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1 29 xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1 30 xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1 31 xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1 32 xlogin*greetFace: spleen:pixelsize=16:antialias=false 33 xlogin*face: spleen:pixelsize=16:antialias=false 34 xlogin*promptFace: spleen:pixelsize=16:antialias=false 35 xlogin*failFace: spleen:pixelsize=16:antialias=false 36 #else 37 xlogin*greetFont: spleen:pixelsize=16:antialias=false 38 xlogin*font: spleen:pixelsize=16:antialias=false 39 xlogin*face: spleen:pixelsize=16:antialias=false 40 xlogin*promptFace: spleen:pixelsize=16:antialias=false 41 xlogin*failFace: spleen:pixelsize=16:antialias=false 42 #endif 43 44 #if !(defined(bpp1) || defined(bpp4) || defined(bpp8) || defined(bpp15)) 45 # if PLANES < 4 46 # ifndef bpp1 47 # define bpp1 48 # endif 49 # else 50 # if PLANES > 4 51 # if PLANES > 8 52 # ifndef bpp15 53 # define bpp15 54 # endif 55 # else 56 # ifndef bpp8 57 # define bpp8 58 # endif bpp8 59 # endif 60 # else 61 # ifndef bpp4 62 # define bpp4 63 # endif 64 # endif 65 # endif 66 #endif /* If manual override */ 67 68 #ifndef bpp1 69 xlogin*borderWidth: 0 70 xlogin*frameWidth: 0 71 xlogin*innerFramesWidth: 0 72 73 xlogin.Login.sepWidth: 0 74 75 ! top/left border 76 xlogin*hiColor: #000000 77 78 ! bottom/right border 79 xlogin*shdColor: #000000 80 81 ! 'Welcome to..' text color 82 xlogin*greetColor: #a574b7 83 #if defined(bpp4) || defined(bpp8) || defined(bpp15) 84 ! flood fill 85 xlogin*background: #0c050f 86 xlogin*inpColor: #0c050f 87 #endif 88 xlogin*failColor: #211327 89 90 ! 'Login:' and 'Password:' 91 *Foreground: #a574bf 92 93 ! border/shadow 94 *Background: #0c050f 95 #else 96 xlogin*borderWidth: 0 97 xlogin*frameWidth: 0 98 xlogin*innerFramesWidth: 0 99 xlogin*shdColor: white 100 xlogin*hiColor: white 101 xlogin*greetColor: white 102 xlogin*background: black 103 xlogin*failColor: #211327 104 xlogin*promptColor: white 105 *Foreground: #a574b7 106 *Background: 0c050f 107 #endif 108 #ifdef bpp1 109 xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_1bpp.xpm 110 #endif 111 #ifdef bpp4 112 xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_4bpp.xpm 113 #endif 114 #ifdef bpp8 115 xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_8bpp.xpm 116 #endif 117 #ifdef bpp15 118 !xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_15bpp.xpm 119 #endif 120 121 xlogin*useShape: true 122 xlogin*logoPadding: 10 123 124 ! uncomment to disable logins 125 ! xlogin.Login.allowRootLogin: false 126 127 XConsole*background: black 128 XConsole*foreground: white 129 XConsole*borderWidth: 2 130 XConsole*borderColor: grey 131 XConsole.text.geometry: 480x130 132 XConsole.verbose: true 133 XConsole*iconic: true 134 XConsole*font: fixed 135 136 137 ! Some other stuff, special thanks to Roman Zolotarev 138 ! https://www.romanzolotarev.com/openbsd/xenodm.html 139 140 xlogin.Login.echoPasswd: true 141 xlogin*namePrompt: Username\040 142 xlogin*passwdPrompt: Password\040