Save backlight on sleep on rainbowdash
This commit is contained in:
parent
2a866a7b7a
commit
deecc46dfc
12
flake.lock
12
flake.lock
|
@ -39,11 +39,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681041438,
|
"lastModified": 1681482634,
|
||||||
"narHash": "sha256-NmRGMklxBZ8Ol47CKMQxAU1F+v8ySpsHAAiC7ZL4vxY=",
|
"narHash": "sha256-cT/nr3L8khEYZSGp8qqwxFH+/q4/547MfyOdSj6MhBk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "48dcbaf7fa799509cbec85d55b8d62dcf1477d57",
|
"rev": "fda0d99c2cbbb5c89d8855d258cb0821bd9113ad",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -55,11 +55,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681036984,
|
"lastModified": 1681465517,
|
||||||
"narHash": "sha256-AbScJXshYzbeUKHh+Y3OICc3iAtr+NqJ3Xb81GW+ptU=",
|
"narHash": "sha256-EasJh15/jcJNAHtq2SGbiADRXteURAnQbj1NqBoKkzU=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fd531dee22c9a3d4336cc2da39e8dd905e8f3de4",
|
"rev": "abe7316dd51a313ce528972b104f4f04f56eefc4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -62,7 +62,7 @@ in
|
||||||
startup = [
|
startup = [
|
||||||
{ command = "mako"; }
|
{ command = "mako"; }
|
||||||
{ command = "dbus-update-activation-environment --systemd --all"; always = true; }
|
{ command = "dbus-update-activation-environment --systemd --all"; always = true; }
|
||||||
{ command = "swayidle -w before-sleep 'swaylock -f' timeout 600 'swaylock -f' timeout 1200 'swaymsg \"output * dpms off\"' resume 'swaymsg \"output * dpms on\"'"; }
|
{ command = "swayidle -w before-sleep 'swaylock -f' timeout 600 'swaylock -f' timeout 660 'swaymsg \"output * dpms off\"' resume 'swaymsg \"output * dpms on\"'"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# I have to set these to something and can't set them to existing uses
|
# I have to set these to something and can't set them to existing uses
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
../../sets/hardware.nix
|
../../sets/hardware.nix
|
||||||
../../sets/hacking.nix
|
../../sets/hacking.nix
|
||||||
../../sets/laptop.nix
|
../../sets/laptop.nix
|
||||||
|
../../sets/ime.nix
|
||||||
../../sets/1password.nix
|
../../sets/1password.nix
|
||||||
../../sets/virtualization.nix
|
../../sets/virtualization.nix
|
||||||
../../sets/workstation.nix
|
../../sets/workstation.nix
|
||||||
|
@ -26,6 +27,7 @@
|
||||||
output."eDP-1" = { mode = "3840x2400@59.994Hz"; scale = "2"; };
|
output."eDP-1" = { mode = "3840x2400@59.994Hz"; scale = "2"; };
|
||||||
input."1386:18753:Wacom_HID_4941_Finger".map_to_output = "eDP-1";
|
input."1386:18753:Wacom_HID_4941_Finger".map_to_output = "eDP-1";
|
||||||
input."1739:52710:DLL096D:01_06CB:CDE6_Touchpad" = { middle_emulation = "enabled"; click_method = "clickfinger"; };
|
input."1739:52710:DLL096D:01_06CB:CDE6_Touchpad" = { middle_emulation = "enabled"; click_method = "clickfinger"; };
|
||||||
|
startup = [{ command = "swayidle -w before-sleep 'light -O' after-resume 'light -I'"; always = true; }];
|
||||||
};
|
};
|
||||||
xdg.configFile."rustybar/config.toml".text = ''
|
xdg.configFile."rustybar/config.toml".text = ''
|
||||||
[[tile]]
|
[[tile]]
|
||||||
|
|
Loading…
Reference in a new issue