{"id":20834715,"url":"https://github.com/cachyos/ananicy-rules","last_synced_at":"2026-03-07T22:09:24.392Z","repository":{"id":118617490,"uuid":"540962230","full_name":"CachyOS/ananicy-rules","owner":"CachyOS","description":"ananicy-cpp-rules for CachyOS","archived":false,"fork":false,"pushed_at":"2024-10-25T12:15:04.000Z","size":628,"stargazers_count":62,"open_issues_count":0,"forks_count":54,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-29T14:22:21.677Z","etag":null,"topics":["ananicy-cpp","auto-nice","cachyos","cpp","linux","rules"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CachyOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-24T20:42:35.000Z","updated_at":"2024-10-28T23:48:07.000Z","dependencies_parsed_at":"2023-12-23T22:21:26.109Z","dependency_job_id":"c7af197b-a4da-45cc-b1a0-ecf7412d8046","html_url":"https://github.com/CachyOS/ananicy-rules","commit_stats":{"total_commits":345,"total_committers":60,"mean_commits":5.75,"dds":0.863768115942029,"last_synced_commit":"707b16506be2c54028546181461ebf47cfe72d83"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fananicy-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fananicy-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fananicy-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fananicy-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CachyOS","download_url":"https://codeload.github.com/CachyOS/ananicy-rules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284953,"owners_count":20913704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ananicy-cpp","auto-nice","cachyos","cpp","linux","rules"],"created_at":"2024-11-18T00:20:23.717Z","updated_at":"2026-01-02T17:19:44.049Z","avatar_url":"https://github.com/CachyOS.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ananicy-cpp-rules for CachyOS\nThis is a ananicy-cpp-rules collection for ananicy-cpp maintained by the CachyOS team.\n\n## Ananicy-cpp \u0026 ananicy-cpp-rules\n- **[ananicy-cpp](https://gitlab.com/ananicy-cpp/ananicy-cpp)** - daemon that automatically adjusts the nice levels of processes.\n- **ananicy-cpp-rules** - list of rules used to assign specific nice values to specific processes.\n\u003e The nice value determines the priority of a process, with higher values indicating lower priority and making the process \"nicer\" to other processes. By default, on Linux workstations, the nice value is set to 0.\n\n## How to contribute\nYou can add your favorite games, apps, and more. Any help would be greatly appreciated!  \n**For example, let's say you want to add a game.**\n1. Go to [00-default](https://github.com/CachyOS/ananicy-rules/tree/master/00-default)\n2. Go to [games](https://github.com/CachyOS/ananicy-rules/tree/master/00-default/games)\n3. Create a new file with the same name as your game, for example, `gamename.rules`\n\n### Examples of rules\nThe **first example** is simple. In the **second example**, it is different because some games generate multiple processes. In such cases, you need to add all the processes related to the game.\n\n#### 1. [Example rule for Just Cause 2](https://github.com/CachyOS/ananicy-rules/blob/68a0f5f2d83fefb657ac0db8e0c8848609b319e4/00-default/games/wine_proton.rules#L617)\n```\n# https://store.steampowered.com/app/8190/Just_Cause_2/\n{ \"name\": \"JustCause2.exe\", \"type\": \"Game\" }\n```\n#### 2. [Example rules for The Outer Worlds](https://github.com/CachyOS/ananicy-rules/blob/68a0f5f2d83fefb657ac0db8e0c8848609b319e4/00-default/games/wine_proton.rules#L1144)\n```\n# The Outer Worlds https://store.steampowered.com/app/578650\n{ \"name\": \"Indiana-Win64-Shipping.exe\", \"type\": \"Game\"}\n{ \"name\": \"TheOuterWorlds.exe\", \"type\": \"Game\"}\n```\n\n#### 3. [Example rules for Portal 2 which is Linux native game](https://github.com/CachyOS/ananicy-rules/blob/68a0f5f2d83fefb657ac0db8e0c8848609b319e4/00-default/games/steam-native.rules#L256)\n```\n# https://store.steampowered.com/app/620/Portal_2/\n{ \"name\": \"portal2_linux\", \"type\": \"Game\" }\n```\n\n## How to find out proper process name?\nHere is a list of tools\n### CLI\n- [htop](https://htop.dev/)\n- [btop](https://github.com/aristocratos/btop)\n### GUI\n- System Monitor [KDE Plasma](https://apps.kde.org/plasma-systemmonitor/) or [GNOME](https://help.gnome.org/users/gnome-system-monitor/)\n\n## [GameMode](https://github.com/FeralInteractive/gamemode) + [ananicy-cpp](https://gitlab.com/ananicy-cpp/ananicy-cpp) = bad idea\nGameMode and ananicy-cpp both adjust the nice levels of processes. However, combining both tools is not recommended, and we strongly advise against doing so.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcachyos%2Fananicy-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcachyos%2Fananicy-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcachyos%2Fananicy-rules/lists"}