Smol fixes
This commit is contained in:
parent
dd2e510473
commit
bafb22c573
|
@ -30,8 +30,8 @@ class Desk:
|
||||||
|
|
||||||
# CBD4+5 Configurator
|
# CBD4+5 Configurator
|
||||||
# https://www.linak.nl/technische-ondersteuning/#/cbd4-cbd6s-configurator
|
# https://www.linak.nl/technische-ondersteuning/#/cbd4-cbd6s-configurator
|
||||||
# Connects, report software number and version
|
# Connects, and settings can be changed.
|
||||||
# All setting values are suspiciously 0 though
|
# Don't think there's much that would help with our problem.
|
||||||
# Decompiled with Ghidra (hard), didn't go super far
|
# Decompiled with Ghidra (hard), didn't go super far
|
||||||
|
|
||||||
VEND = 0x12D3
|
VEND = 0x12D3
|
||||||
|
@ -254,10 +254,12 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
device_info = ha_mqtt_discoverable.DeviceInfo(
|
device_info = ha_mqtt_discoverable.DeviceInfo(
|
||||||
name="Desk",
|
name="Desk",
|
||||||
identifiers="device_id",
|
|
||||||
manufacturer="Linak",
|
manufacturer="Linak",
|
||||||
model="CBD4P",
|
model="CBD4P",
|
||||||
suggested_area="Desk",
|
suggested_area="Desk",
|
||||||
|
hw_version="77402",
|
||||||
|
sw_version="1.91",
|
||||||
|
serial_number="000C-34E7",
|
||||||
)
|
)
|
||||||
|
|
||||||
ndigits = 1
|
ndigits = 1
|
||||||
|
|
|
@ -131,6 +131,7 @@
|
||||||
yt = youtube;
|
yt = youtube;
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
|
colors.webpage.darkmode.policy.images = "never"; # No inverting images in dark mode, is ugly
|
||||||
downloads.location.prompt = false;
|
downloads.location.prompt = false;
|
||||||
tabs = {
|
tabs = {
|
||||||
show = "never";
|
show = "never";
|
||||||
|
@ -148,6 +149,7 @@
|
||||||
prefers_reduced_motion = true;
|
prefers_reduced_motion = true;
|
||||||
headers.accept_language = "fr-FR, fr;q=0.9, en-GB;q=0.8, en-US;q=0.7, en;q=0.6";
|
headers.accept_language = "fr-FR, fr;q=0.9, en-GB;q=0.8, en-US;q=0.7, en;q=0.6";
|
||||||
tls.certificate_errors = "ask-block-thirdparty";
|
tls.certificate_errors = "ask-block-thirdparty";
|
||||||
|
javascript.clipboard = "access"; # copy-paste is fine
|
||||||
};
|
};
|
||||||
editor.command = [ "${pkgs.neovide}/bin/neovide" "--" "-f" "{file}" "-c" "normal {line}G{column0}l" ];
|
editor.command = [ "${pkgs.neovide}/bin/neovide" "--" "-f" "{file}" "-c" "normal {line}G{column0}l" ];
|
||||||
# TODO Doesn't work on Arch. Does it even load the right profile on Nix?
|
# TODO Doesn't work on Arch. Does it even load the right profile on Nix?
|
||||||
|
|
Loading…
Reference in a new issue