Commit 35528e9
Changed files (1)
modules
desktop
noctalia
modules/desktop/noctalia/default.nix
@@ -34,6 +34,10 @@
plugins =
{
+ "fel/ocr" = {
+ src = "${communityPlugins}/ocr";
+ systemDeps = [pkgs.slurp pkgs.grim pkgs.tesseract];
+ };
"noctalia/kaomoji".src = "${officialPlugins}/kaomoji";
}
// (lib.optionalAttrs
@@ -94,9 +98,16 @@
];
};
plugin_settings = {
- "icefish/phone-connect".language = "zh-Hans";
- "icefish/phone-connect".hide_when_offline = true;
- "icefish/phone-connect".auto_select_online = true;
+ "fel/ocr" = {
+ languages = "eng+chi_sim+chi_tra";
+ show_notification = false;
+ };
+ "icefish/phone-connect" = {
+ language = "zh-Hans";
+ auto_select_online = true;
+ hide_when_offline = true;
+ show_device_name = true;
+ };
};
bar = {
order = ["default"];
@@ -142,6 +153,13 @@
capsule = true;
capsule_opacity = 0.9;
custom_image = "${pkgs.nixos-icons}/share/icons/hicolor/64x64/apps/nix-snowflake.png";
+ shortcuts = [
+ {type = "dark_mode";}
+ {type = "wallpaper";}
+ {type = "caffeine";}
+ {type = "notification";}
+ {type = "fel/ocr:grab";}
+ ];
};
launcher = {
capsule = true;
@@ -150,6 +168,7 @@
media = {
capsule = true;
capsule_opacity = 0.9;
+ hide_when_no_media = true;
};
network.show_label = false;
privacy = {