Files
computer-playbook/roles/desk-gnome-caffeine
Kevin Veen-Birkenbach 6fa4d00547 Refactor CDN and run_once handling
- Move run_once include from main.yml to 01_core.yml in desk-gnome-caffeine and desk-ssh
- Introduce sys-svc-cdn/01_core.yml to handle shared/vendor dirs once and role dirs per run
- Replace cdn.* with cdn_paths_all.* across inj roles
- Split cdn_dirs into cdn_dirs_role and CDN_DIRS_GLOBAL
- Ensure cdn_urls uses cdn_paths_all

Details: https://chatgpt.com/share/68b58d64-1e28-800f-8907-36926a9e9a9b
2025-09-01 14:11:36 +02:00
..
2025-09-01 14:11:36 +02:00
2025-07-09 03:18:07 +02:00

GNOME Caffeine

Description

This role installs caffeine-ng, a utility that prevents your GNOME desktop from entering sleep mode or activating the screensaver automatically. It also ensures that caffeine-ng is set to autostart at user login.

Purpose

The purpose of this role is to ensure uninterrupted workflow by keeping the desktop active during long-running tasks or presentations. By automatically starting caffeine-ng, it prevents unwanted screen locking or sleep modes on GNOME systems.

Features

  • Installs caffeine-ng from the AUR using an AUR helper.
  • Creates the autostart directory if it does not exist.
  • Deploys a customized desktop entry to ensure caffeine-ng starts automatically.
  • Enhances user experience by maintaining an active desktop environment.

Credits

Developed and maintained by Kevin Veen-Birkenbach.
Learn more at www.veen.world

License: Infinito.Nexus NonCommercial License