fix: streamdeck new config format
This commit is contained in:
parent
b5676aa2aa
commit
33cd733ff8
|
@ -16,7 +16,7 @@ in {
|
|||
home-manager.sharedModules = [
|
||||
({config, ...}: let
|
||||
cfg = settingsFormat.generate "config.json" {
|
||||
streamdeck_ui_version = 1;
|
||||
streamdeck_ui_version = 2;
|
||||
state = config.programs.streamdeck-ui.settings;
|
||||
};
|
||||
preStart = pkgs.writeShellScript "streamdeck-setup-config" ''
|
||||
|
|
|
@ -3,8 +3,10 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
# Device ID
|
||||
state = {
|
||||
"AL31H1B01852" = {
|
||||
# fuck you streamdeck?
|
||||
# why no distinction between settings and state????
|
||||
rotation = 0;
|
||||
buttons = {
|
||||
# Page number
|
||||
"0" = {
|
||||
|
@ -121,7 +123,5 @@
|
|||
brightness_dimmed = 99; # dimmed brighness
|
||||
};
|
||||
};
|
||||
streamdeck_ui_version = 2;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue