]> 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:

enable 256 colours in rxvt-unicode
[etc/xsession.git] / .Xresources
index cc9e061915d7f580ab5dee39eddecdde1cd0e062..ec47849a3f215d5a377c7f7d94d34ccb38c812f4 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
 #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
 
 #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
 
 Rxvt.colorBD:                  darkblue
 Rxvt.colorUL:                  darkred
@@ -40,10 +53,12 @@ URxvt.cutchars:                "\`\"'&()*,;<=>?@[]^{|}⇝·/:"
 
 Rxvt.loginShell:               true
 
 
 Rxvt.loginShell:               true
 
-URxvt.perl-ext-common:         default,matcher,confirm-paste,-readline
+URxvt.iso14755:                false
+
+URxvt.perl-ext-common:         default,matcher,confirm-paste,-readline,font-size
 
 
-URxvt.keysym.MC-Return:        matcher:select
-URxvt.keysym.C-Return:         matcher:last
+URxvt.keysym.C-Return:         matcher:select
+URxvt.keysym.MC-Return:        matcher:last
 URxvt.matcher.rend.0:          Uline
 URxvt.matcher.pattern.1:       \\B(\.?/\\S+?)\072(\\d+)\\b
 URxvt.matcher.launcher.1:      x-terminal-emulator -e vim +$2 $1
 URxvt.matcher.rend.0:          Uline
 URxvt.matcher.pattern.1:       \\B(\.?/\\S+?)\072(\\d+)\\b
 URxvt.matcher.launcher.1:      x-terminal-emulator -e vim +$2 $1
@@ -56,4 +71,10 @@ URxvt.matcher.rend.1:          Uline
 // URxvt.background:              rgba:0000/0000/0000/dddd
 URxvt.transparent:             false
 
 // URxvt.background:              rgba:0000/0000/0000/dddd
 URxvt.transparent:             false
 
-URxvt.termName:                 rxvt-unicode
+URxvt.termName:                 rxvt-unicode-256color
+
+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: