]> 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 c18ffd14d855496012f9c7f345f652cdfe806d51..3bd0b68e94cb4fcce702ae6912fb7094350a045d 100644 (file)
@@ -3,14 +3,23 @@ Rxvt.urgentOnBell:             true
 
 #if X_RESOLUTION > 3780
 Rxvt.font:                     \
 
 #if X_RESOLUTION > 3780
 Rxvt.font:                     \
+                               xft:Bitstream Vera Sans Mono:pixelsize=17,\
                                xft:Noto Mono:pixelsize=16,\
                                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
 Rxvt.font:                     \
 #else
 Rxvt.font:                     \
+                               xft:Bitstream Vera Sans Mono:pixelsize=14,\
                                xft:Noto Mono:pixelsize=13,\
                                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
 
 #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
 
 Rxvt.background:               white
 Rxvt.foreground:               black
 
@@ -44,7 +53,7 @@ URxvt.cutchars:                "\`\"'&()*,;<=>?@[]^{|}⇝·/:"
 
 Rxvt.loginShell:               true
 
 
 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
 
 URxvt.keysym.C-Return:         matcher:select
 URxvt.keysym.MC-Return:        matcher:last
@@ -61,3 +70,6 @@ URxvt.matcher.rend.1:          Uline
 URxvt.transparent:             false
 
 URxvt.termName:                 rxvt-unicode
 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))) }