Use brightnessctl

This commit is contained in:
ItsDrike 2024-06-10 15:11:49 +02:00
parent 0f4d3f1e05
commit bb39670cd1
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
6 changed files with 38 additions and 165 deletions

View file

@ -6,7 +6,7 @@
}: let
inherit (lib) mkIf;
inherit (import ./packages {inherit pkgs;}) hyprland-swap-workspace hyprland-move-window;
hyprPkgs = (import ./packages {inherit pkgs;});
cfg = osConfig.myOptions.home-manager.wms.hyprland;
in {
@ -15,10 +15,11 @@ in {
];
config = mkIf cfg.enable {
home.packages = with pkgs; [
hyprland-swap-workspace
hyprland-move-window
brightness
home.packages = [
hyprPkgs.hyprland-swap-workspace
hyprPkgs.hyprland-move-window
pkgs.brightnessctl
hyprPkgs.brightness
];
wayland.windowManager.hyprland = {