1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Make theme mkValue and simplify binds

This commit is contained in:
RGBCube 2024-06-26 18:13:40 +03:00
parent 148af87194
commit 82941513d7
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ hardware, config, lib, ... }: with lib;
{ config, lib, ... }: with lib;
systemConfiguration {
boot.loader = {

View file

@ -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%-"

View file

@ -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;