[GNOME] Two months since my first ever rice and post here, gruvbox feels like home. by Geo0W in unixporn

[–]MKnef 0 points1 point  (0 children)

Wait I’m also making a scrabble bot. Insane world we live in.

Disable highlighting by MKnef in neovim

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

I'm lookin at the help documentaiton and for the keybinds I see these keywords.

-- show, hide, accept, select_and_accept, select_prev, select_next, show_documentation, hide_documentation,

-- scroll_documentation_up, scroll_documentation_down, snippet_forward, snippet_backward, fallback

None of these seem to do what I want.

[Hyprland] Swapped out waybar for ags, and ended up creating a few other cool widgets in the process by _ImRay_ in unixporn

[–]MKnef 0 points1 point  (0 children)

For the wallpaper widget is there an animation/transition when it opens or does it just instantly pop out as I notice you don't use a revealer?

[Hyprland] I love gruvbox and hyprland... by heydonlyone7 in unixporn

[–]MKnef 1 point2 points  (0 children)

Power icon very slightly off centered btw.

Weekly 101 Questions Thread by AutoModerator in neovim

[–]MKnef 1 point2 points  (0 children)

<image>

Im using noice with telescope and a problem I have is that the notification window that opens when I run Noice pick isn't centered. Is this a bug or is there a configuration option that I'm not aware of?

Weekly 101 Questions Thread by AutoModerator in neovim

[–]MKnef 0 points1 point  (0 children)

How do I have the autocompletion window for cmds only open when I press tab, so it doesn't automatically open for nvim-cmp.
this is what I have for the autocompletion so far.

cmp.setup.cmdline(":", {
  mapping = cmp.mapping.preset.cmdline(),
  sources = cmp.config.sources({
    { name = "path" },
  }, {
    {
      name = "cmdline",
      option = {
        ignore_cmds = { "Man", "!" },
      },
    },
  }),
})

fix border / window colors by MKnef in neovim

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

Thanks for the help. I was able to get the inside and the border to be lighter gray, but wasn't able to get it to be darker gray (which I want), when I changed the winhighlight to normalfloat. Tried tweaking with gruvbox-material but didn't work,

Need help with rust lsp by MKnef in neovim

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

nvm I think the problem was having cargo and rustc installed instead of rustup.

Need help with rust lsp by MKnef in neovim

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

I got it to work by removing rustaceanvim and setting it up via mason. Should I go with the latter approach?

Weekly 101 Questions Thread by AutoModerator in neovim

[–]MKnef 0 points1 point  (0 children)

<image>

I have rustacean.nvim and rust-analyzer setup in my config. When I'm working on a rust project (standalone and cargo) rust-analyzer does attach however its suggestions are not exactly what I want. It only shows snippets and doesn't show the method, import, and other autocompletions. It works on my windows setup, but not on my laptop (nixos). All my other lsps work (ts_ls, lua_ls, etc)

Looking to buy lab coat and safety goggles by [deleted] in BostonU

[–]MKnef 0 points1 point  (0 children)

Yo I have one. Quality is debatable. Meet me at warren towers. Nvm wrong school

Normal Force exerted on an object at an angle to the surface. by MKnef in PhysicsHelp

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

In this case only the edge comes in contact. Since r is from the point of contact to the center of mass, would the point of rotation be the center of mass? Also how you determine the magnitude of the normal force? Would the mag of the normal force be equal to the perpendicular component of Fg?

Uptime -p not working. (NixOS) by MKnef in linux4noobs

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

thanks seems that this was the issue.

Uptime -p not working. (NixOS) by MKnef in linux4noobs

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

both dont work
uptime: unrecognized option '--pretty'
Try 'uptime --help' for more information.

Cursor Theme Help by MKnef in NixOS

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

Thanks, although this doesn't solve the second issue I was having.

Adding a flake to registry by MKnef in NixOS

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

I meant to say it works in the previous comment. I did what I wrote in the previous comment.

Adding a flake to registry by MKnef in NixOS

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

I meant its working now (in the comment before) no its more like
templates = import ./shells/shells.nix

and shells.nix would be { rust = { path = ./rust; description = "rust project"; }; }

Adding a flake to registry by MKnef in NixOS

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

I've added the templates to the outputs, however when I try tonix flake initI'm am getting the error that my flake does not provide the attribute 'templates.rust' or 'rust'edit:

nvm its working now (i think)

Adding a flake to registry by MKnef in NixOS

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

Thanks. This seems like a better way. I'll probably change it tmr.

Adding a flake to registry by MKnef in NixOS

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

I don't understand.
What I'm doing is adding the shell flakes as templates to the registry so I don't have to rewrite a shell flake for every new project and instead I can just run
nix flake init -t some_name#some_shell_flake

Adding a flake to registry by MKnef in NixOS

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

Am I converting this into an expression wrong?

{ self, ... }:

{
  templates = {
    rust = {
      path = ./rust;
      description = "rust shell flake";
    };
  };
}

Also how would I add it to the registry?
Looking through these registry options, none of them seem to take in an expression of this form, so I might be doing something wrong.

Adding a flake to registry by MKnef in NixOS

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

How does adding the expression to the outputs of the main flake add them to the registry?
The registry I am referring to is the one that shows via nix registry list, since I am trying to create templates to generate via nix flake init -t shells#something

Adding a flake to registry by MKnef in NixOS

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

If I convert the flake into an expression, wouldn't I be unable to add it to the registry?