CachyOS/ananicy-rules
CachyOS/ananicy-rules has 234 GitHub stars and 152 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-21 04:10 UTC. Last push 2026-09-08.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
Acerca de
ananicy-cpp-rules for CachyOS
Herramientas de desarrolloREADME.md
OriginalAnanicy-cpp-rules for CachyOS
This is a ananicy-cpp-rules collection for ananicy-cpp maintained by the CachyOS team and the community.
Ananicy-cpp & ananicy-cpp-rules
- ananicy-cpp - daemon that automatically adjusts the nice levels of processes.
- ananicy-cpp-rules - list of rules used to assign specific nice values to specific processes.
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.
Installation
sudo make install
This script will copy all the rules from this repo to /etc/ananicy.d dir.
How to contribute
You can add your favorite games, apps, and more. Any help would be greatly appreciated! For example, let's say you want to add a game:
- Go to 00-default
- Go to Games
- Navigate to the desired folder depending on:
- Game is meant to be ran under with Proton:
wine_proton→ Open the corresponding file depending on the letter. - Provides a native version for Linux:
linux-native→ Open the corresponding file depending on the letter.
- Game is meant to be ran under with Proton:
- Open the corresponding file depending on the letter.
- Follow the examples from below.
Examples of rules
The 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.
Please also add the name of the game next to the url, which you get the name of said game from the Steam store.
If not from any store add name you think it needs.
1. Example rule for Just Cause 2
# Just Cause 2 https://store.steampowered.com/app/8190/Just_Cause_2/
{ "name": "JustCause2.exe", "type": "Game" }
2. Example rules for Mortal Shell
# Mortal Shell https://store.steampowered.com/app/1110910/Mortal_Shell/
{ "name": "Dungeonhaven.exe", "type": "BG_CPUIO" }
{ "name": "Dungeonhaven-Win64-Shipping.exe", "type": "Game" }
3. Example rules for Portal 2 which is Linux native game
# Portal 2 https://store.steampowered.com/app/620/Portal_2/
{ "name": "portal2_linux", "type": "Game" }
You can also contribute by opening an issue and providing information about the application
Make sure the app is not already in the repository before opening an issue.
Linting
make lint
This will check rules syntax and also check for duplicates. Script requires Python and python-fastjsonschema to be available.
Games can be sorted with sort-games.sh, for more information run this in terminal: ./sort-games.sh --help
How to find out proper process name?
Here is a list of tools
CLI
GUI
- System Monitor KDE Plasma or GNOME
Don't use absolute paths for the executables. Process name alone is enough.
GameMode + ananicy-cpp = bad idea
GameMode and ananicy-cpp both adjust the nice levels of processes. However, combining both tools is not recommended, and we strongly advise against doing so.