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

provide keysyms to insert date-/timestamps
[etc/xsession.git] / .Xresources
index cb01648b802ea593336229cd723205ea43b2a59c..3bd0b68e94cb4fcce702ae6912fb7094350a045d 100644 (file)
@@ -1,22 +1,31 @@
-*visualBell:                   false
-*urgentOnBell:                 true
+Rxvt.visualBell:               false
+Rxvt.urgentOnBell:             true
 
 #if X_RESOLUTION > 3780
-*font:                         \
+Rxvt.font:                     \
+                               xft:Bitstream Vera Sans Mono:pixelsize=17,\
                                xft:Noto Mono:pixelsize=16,\
-                               -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
+                               -misc-fixed-medium-r-normal--17-120-100-100-c-0-iso10646-1
 #else
-*font:                         \
+Rxvt.font:                     \
+                               xft:Bitstream Vera Sans Mono:pixelsize=14,\
                                xft:Noto Mono:pixelsize=13,\
-                               -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
+                               -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
@@ -44,10 +53,10 @@ 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.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
@@ -61,3 +70,6 @@ URxvt.matcher.rend.1:          Uline
 URxvt.transparent:             false
 
 URxvt.termName:                 rxvt-unicode
+
+URxvt.keysym.C-t:               eval:{ use POSIX qw(strftime); $self->{term}->tt_write_user_input($self->{term}->locale_encode(POSIX::strftime("%F", localtime))) }
+URxvt.keysym.C-T:               eval:{ use POSIX qw(strftime); $self->{term}->tt_write_user_input($self->{term}->locale_encode(POSIX::strftime("%F %H:%M:%S", localtime))) }