]> git.madduck.net Git - etc/xsession.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

choose font based on X_RESOLUTION
authormartin f. krafft <madduck@madduck.net>
Mon, 8 Sep 2014 18:58:26 +0000 (20:58 +0200)
committermartin f. krafft <madduck@madduck.net>
Mon, 8 Sep 2014 18:58:56 +0000 (20:58 +0200)
.Xdefaults
.xsession.d/02-xdefaults [new file with mode: 0644]

index d57bcdef8dee1e39a968078e4543a90223163c38..1be99e9cdc4e3fea694ac478446a2688821af857 100644 (file)
@@ -1,6 +1,12 @@
 *visualBell:                   false
 *urgentOnBell:                 true
 *visualBell:                   false
 *urgentOnBell:                 true
+
+#if X_RESOLUTION > 3000
+*font:                         -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
+#else
 *font:                         -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
 *font:                         -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
+#endif
+
 *background:                   white
 *foreground:                   black
 
 *background:                   white
 *foreground:                   black
 
diff --git a/.xsession.d/02-xdefaults b/.xsession.d/02-xdefaults
new file mode 100644 (file)
index 0000000..a5f5070
--- /dev/null
@@ -0,0 +1,5 @@
+# load .Xdefaults
+
+xrdb -merge ~/.Xdefaults
+
+# vim:ft=zsh