]> git.madduck.net Git - etc/xsession.git/blobdiff - .Xresources

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:

override timestamp keysyms for irc window
[etc/xsession.git] / .Xresources
index 10cfb9b8fcf4dd6bac8d7e46a0a5ef3bfafa414b..0b2a7073285ec66e955bfa837eb23e89ff32b7d6 100644 (file)
@@ -1,18 +1,31 @@
-*visualBell:                   false
-*urgentOnBell:                 true
+Rxvt.visualBell:               false
+Rxvt.urgentOnBell:             true
 
-#if X_RESOLUTION > 3000
-*font:                         -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
+#if X_RESOLUTION > 3780
+Rxvt.font:                     \
+                               xft:Bitstream Vera Sans Mono:pixelsize=17,\
+                               xft:Noto Mono:pixelsize=16,\
+                               -misc-fixed-medium-r-normal--17-120-100-100-c-0-iso10646-1
 #else
-*font:                         -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
+Rxvt.font:                     \
+                               xft:Bitstream Vera Sans Mono:pixelsize=14,\
+                               xft:Noto Mono:pixelsize=13,\
+                               -misc-fixed-medium-r-semicondensed--14-130-75-75-c-70-iso10646-1
 #endif
 
-*background:                   white
-*foreground:                   black
+URxvt.keysym.C-equal:          font-size:increase
+URxvt.keysym.C-minus:          font-size:decrease
+URxvt.keysym.C-plus:           font-size:incglobal
+URxvt.keysym.C-underscore:     font-size:decglobal
+URxvt.keysym.C-0:              font-size:reset
+URxvt.keysym.C-backslash:      font-size:show
 
-*saveLines:                    50000
+Rxvt.background:               white
+Rxvt.foreground:               black
 
-*utmpInhibit:                  true
+Rxvt.saveLines:                50000
+
+Rxvt.utmpInhibit:              true
 
 Rxvt.colorBD:                  darkblue
 Rxvt.colorUL:                  darkred
@@ -40,7 +53,7 @@ URxvt.cutchars:                "\`\"'&()*,;<=>?@[]^{|}⇝·/:"
 
 Rxvt.loginShell:               true
 
-URxvt.perl-ext-common:         default,matcher,confirm-paste,-readline
+URxvt.perl-ext-common:         default,matcher,confirm-paste,-readline,font-size
 
 URxvt.keysym.C-Return:         matcher:select
 URxvt.keysym.MC-Return:        matcher:last
@@ -57,3 +70,9 @@ URxvt.matcher.rend.1:          Uline
 URxvt.transparent:             false
 
 URxvt.termName:                 rxvt-unicode
+
+URxvt.keysym.A-t:               eval:{ use POSIX qw(strftime); $self->{term}->tt_write_user_input($self->{term}->locale_encode(POSIX::strftime("%F", localtime))) }
+URxvt.keysym.A-T:               eval:{ use POSIX qw(strftime); $self->{term}->tt_write_user_input($self->{term}->locale_encode(POSIX::strftime("%F-%H%M%S", localtime))) }
+
+irc.keysym.A-t:                 builtin:
+irc.keysym.A-T:                 builtin: