Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. screentime.py: Displays your daily screen time on the Linux console, with color support

screentime.py: Displays your daily screen time on the Linux console, with color support

Scheduled Pinned Locked Moved Uncategorized
4 Posts 1 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sonstharmlos@sueden.socialS This user is from outside of this forum
    sonstharmlos@sueden.socialS This user is from outside of this forum
    sonstharmlos@sueden.social
    wrote last edited by
    #1

    screentime.py: Displays your daily screen time on the Linux console, with color support

    Link Preview Image
    screentime

    screentime - Displays your daily screen time on the console, with configurable coloring rules

    favicon

    Codeberg.org (codeberg.org)

    sonstharmlos@sueden.socialS 1 Reply Last reply
    0
    • sonstharmlos@sueden.socialS sonstharmlos@sueden.social

      screentime.py: Displays your daily screen time on the Linux console, with color support

      Link Preview Image
      screentime

      screentime - Displays your daily screen time on the console, with configurable coloring rules

      favicon

      Codeberg.org (codeberg.org)

      sonstharmlos@sueden.socialS This user is from outside of this forum
      sonstharmlos@sueden.socialS This user is from outside of this forum
      sonstharmlos@sueden.social
      wrote last edited by
      #2

      Found out that it is hard to impossible to get screensaver activation/deactivation events from a log file, especially when the screen was not locked.

      sonstharmlos@sueden.socialS 1 Reply Last reply
      0
      • sonstharmlos@sueden.socialS sonstharmlos@sueden.social

        Found out that it is hard to impossible to get screensaver activation/deactivation events from a log file, especially when the screen was not locked.

        sonstharmlos@sueden.socialS This user is from outside of this forum
        sonstharmlos@sueden.socialS This user is from outside of this forum
        sonstharmlos@sueden.social
        wrote last edited by
        #3

        Learned a lot of Python in this project including several language features that I used for the first time:
        - Generator Expressions
        - Type Annotations
        - Type Aliases
        - Abstract Classes
        - Static Methods

        Next up:
        - I18N (.po files?)
        - Creating a .deb package

        sonstharmlos@sueden.socialS 1 Reply Last reply
        0
        • sonstharmlos@sueden.socialS sonstharmlos@sueden.social

          Learned a lot of Python in this project including several language features that I used for the first time:
          - Generator Expressions
          - Type Annotations
          - Type Aliases
          - Abstract Classes
          - Static Methods

          Next up:
          - I18N (.po files?)
          - Creating a .deb package

          sonstharmlos@sueden.socialS This user is from outside of this forum
          sonstharmlos@sueden.socialS This user is from outside of this forum
          sonstharmlos@sueden.social
          wrote last edited by
          #4

          Turns out that .po files (GNU gettext) need to be "compiled" into a binary format (sigh), so it doesn't really make sense to have them until you can also offer a (.deb) package for download.

          1 Reply Last reply
          1
          0
          • R relay@relay.infosec.exchange shared this topic
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups