Skip to content

prostitutionofthesoul/ananicy-cpp-void-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Ananicy-cpp Void Linux Template

Rewrite of Ananicy in C++ for lower resource usage. Optimizes process priorities (nice, ionice, sched) for better desktop responsiveness.

Installation

Go to your void-packages directory:

cd void-packages

Clone this repository:

git clone https://github.com/prostitutionofthesoul/ananicy-cpp-void-template.git /tmp/ananicy-repo
cp -r /tmp/ananicy-repo/srcpkgs/ananicy-cpp srcpkgs/

Build and install:

./xbps-src pkg ananicy-cpp
sudo xbps-install --repository=hostdir/binpkgs ananicy-cpp

Post-Installation

1. Install Rules

Ananicy-cpp requires rules to function. It is recommended to use CachyOS rules:

sudo mkdir -p /etc/ananicy.d
sudo git clone https://github.com/CachyOS/ananicy-rules.git /etc/ananicy.d/rules

2. Configure

Create a basic config file:

echo 'loglevel = "info"
rules_dir = "/etc/ananicy.d/rules"' | sudo tee /etc/ananicy.d/ananicy.conf

3. Enable Service

Enable the daemon using runit:

sudo mkdir -p /etc/sv/ananicy-cpp
printf "#!/bin/sh\nexec ananicy-cpp run\n" | sudo tee /etc/sv/ananicy-cpp/run
sudo chmod +x /etc/sv/ananicy-cpp/run
sudo ln -s /etc/sv/ananicy-cpp /var/service/

About

An ananicy-cpp Void Linux xbps-src template. A C++ rewrite of Ananicy for low-resource process priority management (nice, ionice, sched) for improved system responsiveness.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors