mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:08:12 +09:00
17 lines
442 B
Nix
17 lines
442 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home.packages = [ pkgs.dpms-off ];
|
|
|
|
xdg.desktopEntries.dpms-off = {
|
|
name = "Display Off";
|
|
genericName = "Display Power Management";
|
|
comment = "Turn off all displays using DPMS";
|
|
exec = "${pkgs.dpms-off}/bin/dpms-off";
|
|
icon = "display";
|
|
terminal = false;
|
|
type = "Application";
|
|
categories = [ "System" ];
|
|
settings.Keywords = "Display Off;Screen Saver;DPMS;Power;Monitor;Screen;";
|
|
};
|
|
}
|