]> 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 154b540973de7238a2487911f8597394a1c9db72..3bd0b68e94cb4fcce702ae6912fb7094350a045d 100644 (file)
@@ -8,11 +8,18 @@ Rxvt.font:                     \
                                -misc-fixed-medium-r-normal--17-120-100-100-c-0-iso10646-1
 #else
 Rxvt.font:                     \
-                               xft:Bitstream Vera Sans Mono:pixelsize=13,\
-                               xft:Noto Mono:pixelsize=12,\
-                               -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
+                               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
 
+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
+
 Rxvt.background:               white
 Rxvt.foreground:               black
 
@@ -46,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
@@ -63,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))) }