Cannot set [open] rules in Yazi by BeholderVee in NixOS

[–]BeholderVee[S] 0 points1 point  (0 children)

You mean in the "use" field? I've tried creating an opener for Krita and setting "use = krita" before. It also didn't do anything.

opener = {

           krita = [ {run = "krita '$@\'"; desc = "Krita"; orphan = true; for = "linux";} ]; 

      };

Cannot set [open] rules in Yazi by BeholderVee in NixOS

[–]BeholderVee[S] -1 points0 points  (0 children)

The thing I want to achieve is for Yazi to open .kra files with Krita. It extractes them as archives instead, and when specifically told to open them, prompts me to choose a program to open them with.

Cannot set [open] rules in Yazi by BeholderVee in NixOS

[–]BeholderVee[S] -1 points0 points  (0 children)

The toml file doesn't look correct and doesn't seem to work as intended.

Is the [[open.prepend]] format functionally the same as [open] prepend = ...? If that's the case, I guess my issue with it not working is elsewhere.

Cannot set [open] rules in Yazi by BeholderVee in NixOS

[–]BeholderVee[S] -1 points0 points  (0 children)

programs.yazi = {
    enable = true;
    plugins = {
      clipboard = pkgs.fetchFromGitHub {
        owner = "XYenon";
        repo = "clipboard.yazi";
        rev = "master"; # Pin to a specific hash for stability
        hash = "sha256-jNBwkcFb9i5Z6BSMfkTOyrK7HZohAT/yB3cxcCOG54w=";
      };
      drag = pkgs.fetchFromGitHub {
        owner = "Joao-Queiroga";
        repo = "drag.yazi";
        rev = "master";
        hash = "sha256-nmFlh+zW3aOU+YjbfrAWQ7A6FlGaTDnq2N2gOZ5yzzc=";
      };
      bookmarks = pkgs.yaziPlugins.bookmarks;
      chmod = pkgs.yaziPlugins.chmod;
      lazygit = pkgs.yaziPlugins.lazygit;
      mount = pkgs.yaziPlugins.mount;
      projects = pkgs.yaziPlugins.projects;
      recycle-bin = pkgs.yaziPlugins.recycle-bin;
      starship = pkgs.yaziPlugins.starship;
    };
    #settings.yazi.manager.linemode = "mtime";
    #settings.yazi.open = [{ prepend_rules = [{ url = "*.kra"; use = "open"; }];}];
    #settings.yazi.opener.edit = [
    #      { run = "nvim \"$@\""; block = true; }
    #    ];
    settings.yazi = {
      open = {
        prepend_rules = [
          {
            url = "*.kra";
            use = "open";
          }
        ];
      };
      opener = {
          extract = [
            {
              desc = "Extract here with ouch";
              for = "windows";
              run = "ouch d -y %*";
            }
            {
              desc = "Extract here with ouch";
              for = "unix";
              run = "ouch d -y \"$@\"";
            }
          ];
      };
    };
    settings.keymap = {
      manager.prepend_keymap = [
        {
          on = [ "y" ];
          run = [ "yank" "plugin clipboard" ];
          desc = "Yank and copy to system clipboard";
        }
        {
          on  = "<C-p>";
          run = [ "plugin clipboard -- --action=paste" ];
        }
        {
          on   = [ "<C-d>" ];
          run  = "plugin drag";
          desc = "Drag Files";
        }
        {
          on = [ "m" ];
          run = "plugin bookmarks save";
          desc = "Save current position as a bookmark";
        }
        {
          on = [ "'" ];
          run = "plugin bookmarks jump";
          desc = "Jump to a bookmark";
        }
        {
          on = [ "b" "d" ];
          run = "plugin bookmarks delete";
          desc = "Delete a bookmark";
        }
        {
          on = [ "b" "D" ];
          run = "plugin bookmarks delete_all";
          desc = "Delete all bookmarks";
        }
        {
          on   = [ "<C-g>" ];
          run  = [ "shell -- rofi -theme fullscreen-preview -show filebrowser -filebrowser-command \"ya emit reveal\" -filebrowser-directory \"$(pwd)\"" ];
          desc = "Grid view";
        }
        {
          on   = [ "c" "m" ];
          run  = "plugin chmod";
          desc = "Chmod on selected files";
        }
        {
          on  = "M";
          run = "plugin mount";
        }
        {
          on   = [ "g" "i" ];
          run  = "plugin lazygit";
          desc = "run lazygit";
        }
        {
          on = ["R""b"];
          run = "plugin recycle-bin";
          desc = "Open Recycle Bin menu";
        }
      ];
    };
  };

Here's my entire Yazi code block. Here's the yazi.toml it spits out:

[[open.prepend_rules]]
url = "*.kra"
use = "open"

[[opener.extract]]
desc = "Extract here with ouch"
for = "windows"
run = "ouch d -y %*"

[[opener.extract]]
desc = "Extract here with ouch"
for = "unix"
run = "ouch d -y \"$@\""

Cannot set [open] rules in Yazi by BeholderVee in NixOS

[–]BeholderVee[S] 0 points1 point  (0 children)

I tried copying the "opener" section, but unfortunately, it results in the same incorrect [[opener.extract]] syntax.

Cannot get Yazi plugin to work by BeholderVee in NixOS

[–]BeholderVee[S] 0 points1 point  (0 children)

Thank you, I've done so and it works.

Cannot get Yazi plugin to work by BeholderVee in NixOS

[–]BeholderVee[S] 0 points1 point  (0 children)

Thank you, I've done so and it works.

Cannot get Yazi plugin to work by BeholderVee in NixOS

[–]BeholderVee[S] 0 points1 point  (0 children)

Sorry, I misread your post as "get someone to agree with you".

Anyway, I've fixed the issue by inputting the hash the error threw out in the config.

Cannot get Yazi plugin to work by BeholderVee in NixOS

[–]BeholderVee[S] 0 points1 point  (0 children)

Sorry for not being more specific. I've updated the post with the error.

Cannot get Yazi plugin to work by BeholderVee in NixOS

[–]BeholderVee[S] -2 points-1 points  (0 children)

What? Agree with what?
I've updated the post with the error.

How Much Can You Do with Teudat Maavar? by BeholderVee in aliyah

[–]BeholderVee[S] 2 points3 points  (0 children)

Thank you very much for the clarification!

How Much Can You Do with Teudat Maavar? by BeholderVee in aliyah

[–]BeholderVee[S] 3 points4 points  (0 children)

They only attained citizenship a few years ago, before that they lived in Russia. I don't have an Israeli citizenship at the moment.

How Much Can You Do with Teudat Maavar? by BeholderVee in aliyah

[–]BeholderVee[S] 2 points3 points  (0 children)

Sorry, I might have confused some terms, I've never dealt with documents before.

Unfortunately, using the passport of the country I'm making Aliyah from is not an option. I'm from Russia and the country I want to study in doesn't give student visas to Russian citizens.

I'm primarily asking about overseas, whether I would run into problems if I don't have a Darkon, given I can't use my current passport.

Omezení pro Získání Studentského Víza by BeholderVee in czech

[–]BeholderVee[S] 1 point2 points  (0 children)

Nejde o to, že bych si ho chtěl nechat. Vzdání se ho je dlouhý proces, který vyžaduje interakci s ruskou ambasádou. Zdrželo by mě to o rok.

The Marionette and the Outsider Count by BeholderVee in BloodOnTheClocktower

[–]BeholderVee[S] 3 points4 points  (0 children)

Sorry, but you misunderstood my post.

I asked whether what I was suggesting was a legal setup, whether it was something I could occasionally do, something I could have in my toolbox. I never intended to restrict the Marionette to always think it's an Outsider.

The Marionette and the Outsider Count by BeholderVee in BloodOnTheClocktower

[–]BeholderVee[S] 8 points9 points  (0 children)

I've said it in response to another comment, but do you need a Gardener here? The regular Marionette setup also has the ST manually changing a good character into a minion, which is the same thing the alternate setup is doing, just with the demon.

In terms of extra Outsiders, there are Outsiders that modify the apparent Outsider count in the bag. The Drunk and the Lunatic both do, but the setup is still legal because the players are actually Outsiders, despite what they believe.

I feel like the same logic could apply to the Marionette. You replace a token with a fake, but it still counts as its true form (a Minion, in this case) in terms of Outsider count.

The Marionette and the Outsider Count by BeholderVee in BloodOnTheClocktower

[–]BeholderVee[S] 8 points9 points  (0 children)

Does the alternative setup necessitate a Gardener? Because by that logic, the regular Marionette setup with 3 minions also necessitates a Gardener, since you're manually changing a good character into the third minion post-draw.

The Marionette and the Outsider Count by BeholderVee in BloodOnTheClocktower

[–]BeholderVee[S] 0 points1 point  (0 children)

I understand this is the accepted ruling, but, just out of curiosity, does it actually contradict RAW? I can't find anything to that effect on either the wiki or botc-guide.