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

View File

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

View File

@ -69,7 +69,9 @@
format-icons = [ "" ]; format-icons = [ "" ];
}; };
backlight = { 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 = "{percent}% {icon}";
format-icons = [ "" "" "" "" "" "" "" "" "" ]; format-icons = [ "" "" "" "" "" "" "" "" "" ];
}; };