• Crackhappy@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    I’ve seen your creative commons link a lot recently. I am curious whether you have to paste that in every time or what automated method you use ?

    • onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      3 months ago

      I’m on KDE X11, where I configured a shortcut to input the license:

      paste_license.sh

      #!/usr/bin/env bash
      sleep 0.5
      xte "str ::: spoiler Anti Commercial AI thingy"
      xte "key Return"
      xte "str [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)"
      xte "key Return"
      xte "str :::"
      

      On windows probably autohotkey would do a similar job. No idea about macs…

      Anti Commercial AI thingy

      CC BY-NC-SA 4.0