mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Make theme mkValue and simplify binds
This commit is contained in:
parent
148af87194
commit
82941513d7
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ hardware, config, lib, ... }: with lib;
|
{ config, lib, ... }: with lib;
|
||||||
|
|
||||||
systemConfiguration {
|
systemConfiguration {
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
|
|
@ -54,8 +54,8 @@ in desktopSystemConfiguration {
|
||||||
", XF86MonBrightnessUp , exec, brightnessctl set 5%+"
|
", XF86MonBrightnessUp , exec, brightnessctl set 5%+"
|
||||||
", XF86MonBrightnessDown, exec, brightnessctl set --min-value=0 5%-"
|
", XF86MonBrightnessDown, exec, brightnessctl set --min-value=0 5%-"
|
||||||
|
|
||||||
"SUPER+ALT, Prior, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.5"
|
"SUPER, Prior, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.5"
|
||||||
"SUPER+ALT, Next , exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
"SUPER, Next , exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
|
|
||||||
"SUPER, Home, exec, brightnessctl set 5%+"
|
"SUPER, Home, exec, brightnessctl set 5%+"
|
||||||
"SUPER, End , exec, brightnessctl set --min-value=0 5%-"
|
"SUPER, End , exec, brightnessctl set --min-value=0 5%-"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, pkgs, themes, ... }: {
|
{ 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;
|
cornerRadius = 8;
|
||||||
borderWidth = 2;
|
borderWidth = 2;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue