Smol fixes

This commit is contained in:
Geoffrey Frogeye 2024-06-30 23:01:09 +02:00
parent dd2e510473
commit bafb22c573
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 7 additions and 3 deletions
curacao/desk
hm/desktop/browser

View file

@ -30,8 +30,8 @@ class Desk:
# CBD4+5 Configurator
# https://www.linak.nl/technische-ondersteuning/#/cbd4-cbd6s-configurator
# Connects, report software number and version
# All setting values are suspiciously 0 though
# Connects, and settings can be changed.
# Don't think there's much that would help with our problem.
# Decompiled with Ghidra (hard), didn't go super far
VEND = 0x12D3
@ -254,10 +254,12 @@ if __name__ == "__main__":
device_info = ha_mqtt_discoverable.DeviceInfo(
name="Desk",
identifiers="device_id",
manufacturer="Linak",
model="CBD4P",
suggested_area="Desk",
hw_version="77402",
sw_version="1.91",
serial_number="000C-34E7",
)
ndigits = 1

View file

@ -131,6 +131,7 @@
yt = youtube;
};
settings = {
colors.webpage.darkmode.policy.images = "never"; # No inverting images in dark mode, is ugly
downloads.location.prompt = false;
tabs = {
show = "never";
@ -148,6 +149,7 @@
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";
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" ];
# TODO Doesn't work on Arch. Does it even load the right profile on Nix?