mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
Display OFF
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{ 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;";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
description = "Manual DPMS-off launcher for Wayland";
|
||||
}
|
||||
Reference in New Issue
Block a user