In the beginning there was light

This commit is contained in:
Daniel Ziltener 2023-11-20 18:18:47 +01:00
parent 7602078739
commit e8cdb36370
Signed by: zilti
GPG key ID: B38976E82C9DAE42
3 changed files with 10 additions and 7 deletions

View file

@ -50,11 +50,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1700397206,
"narHash": "sha256-ityVJcy3I/E8soXctwWveg58+cXOSQXhDIcU6YR2gjI=",
"lastModified": 1700482389,
"narHash": "sha256-A0e6/EG0p5Wb+24Xcjpnh+wARtCcWw5Fi7r6PLVIgiA=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "646f4bc63861e03b01fed3833bb65d1d014e1bf3",
"rev": "6d26199e1ccd2f99084ec5a9107b8e7cdd286249",
"type": "github"
},
"original": {
@ -138,11 +138,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1700204040,
"narHash": "sha256-xSVcS5HBYnD3LTer7Y2K8ZQCDCXMa3QUD1MzRjHzuhI=",
"lastModified": 1700390070,
"narHash": "sha256-de9KYi8rSJpqvBfNwscWdalIJXPo8NjdIZcEJum1mH0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad",
"rev": "e4ad989506ec7d71f7302cc3067abd82730a4beb",
"type": "github"
},
"original": {

View file

@ -8,6 +8,7 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }:
SDL2
babashka
bitwarden
brightnessctl
chicken
clj-kondo
clojure

View file

@ -69,7 +69,9 @@
format-icons = [ "" ];
};
backlight = {
device = "intel_backlight";
# device = "intel_backlight";
on-scroll-up = "${pkgs.brightnessctl}/bin/brightnessctl set +1%";
on-scroll-down = "${pkgs.brightnessctl}/bin/brightnessctl set 1%-";
format = "{percent}% {icon}";
format-icons = [ "" "" "" "" "" "" "" "" "" ];
};