mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 22:30:42 +00:00
Use brightnessctl
This commit is contained in:
parent
0f4d3f1e05
commit
bb39670cd1
6 changed files with 38 additions and 165 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue