Skip to content

win0err/gnome-runcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

62 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

RunCat for GNOME Shell Logo

RunCat for GNOME Shell

RunCat provides a key-frame animation to the GNOME Shell top bar.
Animation speed changes depending on CPU usage.


RunCat for GNOME Shell

Installation

This is the recommended method for installation, as it doesn't require the build dependencies for installation. You can install this extension by visiting the GNOME Shell Extensions page for this extension.

Manual installation

From source code

If you want to install the extension from sources, clone the RunCat repository, navigate to the cloned directory and run:

$ make install

Release ZIP-archive

If you want to install the extension from release zip-archive, download [email protected] from the releases section and run:

$ gnome-extensions install path/to/[email protected] --force

After installation:

  1. Restart the GNOME Shell:
    • ALT F2 to open the command prompt, and enter r to restart the GNOME Shell (available on Xorg only);
    • or Log Out, then Log In, if GNOME Shell won't restart;
  2. Enable the extension:
    • Open GNOME Extensions โ†’ RunCat โ†’ On;
    • or Run in terminal: gnome-extensions enable [email protected].

Manage RunCat preferences

  • Right-click on the extension button on the top bar โ†’ Settings;
  • or Open GNOME Extensions โ†’ RunCat โ†’ โš™๏ธ;
  • or Open RunCat on GNOME Extensions portal โ†’ โš™๏ธ;
  • or Manage directly in dconf: dconf list /org/gnome/shell/extensions/runcat/.

Translations

Working with existing translations

make translations command extracts translatable strings and updates existing translations. Make sure that you've run this command before pushing changes.

  • make po/messages.pot command extracts translatable strings;
  • make po/*.po command updates existing translations.

Starting new translation

To create a new translation file, use the following command:
msginit -i po/messages.pot -l <locale> --no-translator -o po/<locale>.po.

Examples

Spanish locale: msginit -i po/messages.pot -l es --no-translator -o po/es.po.
Spanish (Argentina) locale: msginit -i po/messages.pot -l es_AR --no-translator -o po/es_AR.po.

Useful commands for developers

You need to install project JS dependencies first: npm i

  • npm run types:generate โ€” generate type definition for GJS environment;
  • npm run test:lint โ€” lint project files.

macOS version

Thanks to Takuto Nakamura for the macOS version and cat images.


Developed by Sergei Kolesnikov