From 82941513d7b61e5cc7ae5c230127a8318573dec3 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 26 Jun 2024 18:13:40 +0300 Subject: [PATCH] Make theme mkValue and simplify binds --- hosts/enka/hardware.nix | 2 +- modules/hyprland/hyprland.nix | 4 ++-- options/theme.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/enka/hardware.nix b/hosts/enka/hardware.nix index b241054..1213be0 100644 --- a/hosts/enka/hardware.nix +++ b/hosts/enka/hardware.nix @@ -1,4 +1,4 @@ -{ hardware, config, lib, ... }: with lib; +{ config, lib, ... }: with lib; systemConfiguration { boot.loader = { diff --git a/modules/hyprland/hyprland.nix b/modules/hyprland/hyprland.nix index a1dc29a..5572048 100644 --- a/modules/hyprland/hyprland.nix +++ b/modules/hyprland/hyprland.nix @@ -54,8 +54,8 @@ in desktopSystemConfiguration { ", XF86MonBrightnessUp , exec, brightnessctl set 5%+" ", XF86MonBrightnessDown, exec, brightnessctl set --min-value=0 5%-" - "SUPER+ALT, Prior, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.5" - "SUPER+ALT, Next , exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" + "SUPER, Prior, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.5" + "SUPER, Next , exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" "SUPER, Home, exec, brightnessctl set 5%+" "SUPER, End , exec, brightnessctl set --min-value=0 5%-" diff --git a/options/theme.nix b/options/theme.nix index e0766ca..596fa02 100644 --- a/options/theme.nix +++ b/options/theme.nix @@ -1,5 +1,5 @@ { lib, pkgs, themes, ... }: { - options.theme = lib.mkConst (themes.custom (themes.raw.gruvbox-dark-hard // { + options.theme = lib.mkValue (themes.custom (themes.raw.gruvbox-dark-hard // { cornerRadius = 8; borderWidth = 2;