fixing hypridle and monitor power
This commit is contained in:
parent
6d9644501b
commit
61ef5654ee
5 changed files with 13 additions and 14 deletions
18
flake.lock
generated
18
flake.lock
generated
|
@ -69,11 +69,11 @@
|
|||
"nixpkgs-stable": "nixpkgs-stable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1739814150,
|
||||
"narHash": "sha256-xvG8k1Gfmm+2wpvzNikGj53BTg+Ay03aM5M68Y0caI8=",
|
||||
"lastModified": 1739844449,
|
||||
"narHash": "sha256-NtddqudRBSTT1FTkBKEo+CRhZjSwRvimyeAxoRcXTKo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "emacs-overlay",
|
||||
"rev": "b51c3cceb739735185e06878bb05c2a0a3c16b9b",
|
||||
"rev": "53b218d3d3d187724e86b2a63ce9a960d005faac",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -323,11 +323,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1739823458,
|
||||
"narHash": "sha256-uHjpcdlWKrZEJxsGdlMRTe4jlMYAnNsjRxPSTrNMFvo=",
|
||||
"lastModified": 1739845242,
|
||||
"narHash": "sha256-rNMXpDubNWGLTs45MuoH9YHtXfXye/fn2u4YMSTPt9I=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "6c93eea85daddd0dc8d4a3a687473461f3122961",
|
||||
"rev": "5cfbf5cc37a3bd1da07ae84eea1b828909c4456b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -912,11 +912,11 @@
|
|||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1739624908,
|
||||
"narHash": "sha256-f84lBmLl4tkDp1ZU5LBTSFzlxXP4926DVW3KnXrke10=",
|
||||
"lastModified": 1739758141,
|
||||
"narHash": "sha256-uq6A2L7o1/tR6VfmYhZWoVAwb3gTy7j4Jx30MIrH0rE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a60651b217d2e529729cbc7d989c19f3941b9250",
|
||||
"rev": "c618e28f70257593de75a7044438efc1c1fc0791",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#!/usr/bin/env fish
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
niri msg action power-off-monitors
|
||||
brillo -e -O && niri msg action power-off-monitors
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
systemctl suspend
|
||||
brillo -e -O && systemctl suspend
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
package = inputs.hypridle.packages.x86_64-linux.default;
|
||||
settings = {
|
||||
general = {
|
||||
lock_cmd = "pidof hyprlock || hyprlock";
|
||||
before_sleep_cmd = "loginctl lock-session && brillo -e -O";
|
||||
lock_cmd = "brillo -e -O && pidof hyprlock || hyprlock";
|
||||
before_sleep_cmd = "brillo -e -O && loginctl lock-session";
|
||||
after_sleep_cmd = "/home/emenel/.local/bin/on-unlock";
|
||||
ignore_dbus_inhibit = false;
|
||||
ignore_systemd_inhibit = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue