Switch branches/tags
Nothing to show
Commits on Jan 26, 2018
  1. [sawfish] Typo fix

    mina86 committed Jan 26, 2018
  2. [sawfish] Update key bindings

    mina86 committed Jan 26, 2018
  3. [emacs] Rework bin/e to support choosing windows and reading stdin

    mina86 committed Jan 26, 2018
    Add code which allows opening buffer with consents of standard output feed
    to the ‘e’ command.  Usage ‘some-command | e - ’.
    Also, add ‘-r’ and ‘-l’ switches which choose window to open file in.  This
    works because I typically have two vertical windows in Emacs.
  4. [sawfish] Handle background changes in the window manager

    mina86 committed Nov 27, 2017
    So far I’ve been using GKrellM Background Changer to periodically change my
    wallpaper but this had two disadvantages.
    Least importantly, the plugin isn’t typically packaged so installing it
    requires getting its sources and compilation.  More importantly, changing
    wallpaper from command line by calling ‘set-bg’ does not reset plugin’s
    Both of those issues can be addressed by moving the timer logic into
    Sawfish.  ‘set-bg’ is now simply calling to Sawfish to do the work.  The
    actual code which deals with changing background is in bin/libexec/set-bg
    (which is not in the repo just yet).
  5. [x] Make sure temporary file used by .xinitrc is properly deleted

    mina86 committed Nov 6, 2017
    In certain situations¹, the tepmorary file used to by the script to
    gather Sawfish’s intent to poweroff or reboot the machine may remain
    in place.  Change the script so that it’s never the case.
    ¹ On exec, shell does not execute trap 0 commands which means that if
    exec_quit_cmd executes a quit command the temporary file is never
    deleted.  If, in addition, those quit commands fail, the temporary
    file is left behind and the machine is not halted or rebooted.
    In practice, this should not be an issue since those commands
    will reboot or halt the machine thus nuking /tmp, but in case that fails
  6. [x] Protect against parsing errors when file is edited while running

    mina86 committed Nov 6, 2017
    Since ~/.xinitrc script remains running as long as X session is on
    I often end up editing it while shell still interprets it.  This
    may results in garbage being executed.  Avoid that by wrapping the
    main entry code in a function and having it terminate the script
    (with exit or exec).
  7. [x] Avoid forking when starting gkrellm from xinitrc

    mina86 committed Nov 6, 2017
    Looks like ‘test … && gkrellm &’ results in unnecessary fork before
    gkrellm is called.  Add exec so that the fork and a process laying
    around waiting for gkrellm to finish are avoided.
  8. [emacs] Clean mail headers up; read face from file system

    mina86 committed Nov 2, 2017
    ⅰ) Replace X-PGP and X-PGP-FP with OpenPGP header.  I’ve been looking for
    (de facto) standard header for PGP information and OpenPGP seemed like
    the best match.   Use that.
    ⅱ) Get rid of X-Face.  At this point, if anyone use X-Face header they
    probably also are capable of using Face header.  Use just the latter.
    Chances that this affects anyone are minimal anyway.
    ⅲ) Read Face from the file system rather than keeping the base64 of the
    image in the mail.el file.
  9. [emacs] ‘notmuch-kill-this-buffer’ is no longer a thing

    mina86 committed Nov 2, 2017
    Use ‘notmuch-bury-or-kill-this-buffer’ function instead.
  10. [emacs] Add ‘C-c a’ for adding Acked-by line

    mina86 committed Nov 2, 2017
    Make it easier to Ack Linux patches with a custom ‘C-c a’ binding.
  11. [music] Various small fixes

    mina86 committed Nov 2, 2017
  12. [x] Include .xsettingsd

    mina86 committed Oct 22, 2017
  13. [shell] Don’t use fancy PS1 on non-fancy terminals

    mina86 committed Oct 31, 2017
    A fancy PS1 confuses Emacs’ TRAMP so change the shell rc file so that PS1
    is kept simple unless a ‘fancy’ term is used.
  14. [music] Refactor m and move it to its own directory

    mina86 committed Oct 31, 2017
    Split the m script into multiple files each dealing with one particular
    music player plus a main script that glues all of those together.  With
    this design, support for each player can be easily disabled by simply
    disabling executable bit of a file dealing with that player.  This way
    the tool doesn’t hve to query all players machines which only ever run
    one of them.
  15. [sh] Simplify ~/.dir-colors handling

    mina86 committed Oct 24, 2017
    Instead of a decision tree in ~/.shellrc file which decides how to best
    set LS_COLORS environmnt variable from ~/.dir_colors or some other
    file generate shell code for setting LS_COLORS in the update script
    and save the result in ~/.dir-colors directly.  With that, ~/.shellrc
    can just source the file and be done with it.
  16. [update] Typo fix

    mina86 committed Oct 24, 2017
  17. [update] Update variable naming style

    mina86 committed Oct 24, 2017
    Use lower_case for variables which are not exported.
  18. [dir-colors] Update dir-colors

    mina86 committed Oct 23, 2017
    Synced with newest /etc/DIR_COLORS from Slackware.