diff --git a/flake.lock b/flake.lock index cdfac44..7828ebb 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/home.nix b/home.nix index d929f78..a87d2f3 100644 --- a/home.nix +++ b/home.nix @@ -8,6 +8,7 @@ args@{ config, pkgs, hyprland, split-monitor-workspaces, flatpaks, ... }: SDL2 babashka bitwarden + brightnessctl chicken clj-kondo clojure diff --git a/waybar/settings.nix b/waybar/settings.nix index f86628e..a0ee240 100644 --- a/waybar/settings.nix +++ b/waybar/settings.nix @@ -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 = [ "" "" "" "" "" "" "" "" "" ]; };