]> git.madduck.net Git - etc/xsession.git/commitdiff

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
authormartin f. krafft <madduck@madduck.net>
Sat, 18 Mar 2017 01:51:46 +0000 (14:51 +1300)
committermartin f. krafft <madduck@madduck.net>
Sat, 18 Mar 2017 01:51:46 +0000 (14:51 +1300)
.Xresources

index 79b412c4ae803212caa11176207485e337c726db..3bd0b68e94cb4fcce702ae6912fb7094350a045d 100644 (file)
@@ -70,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))) }