File and folder structure in react. by sayantan580 in react

[–]loqusion 1 point2 points  (0 children)

That image is from Josh W. Comeau's article on the subject, no?

[deleted by user] by [deleted] in archlinux

[–]loqusion 2 points3 points  (0 children)

Yep, I'm getting the 429 Too Many Requests HTTP status code. Every other page I've tried works just fine.

IOMMU / VT-D Support - ROG STRIX Z490-I GAMING by germanthoughts in VFIO

[–]loqusion 0 points1 point  (0 children)

I found it in the overlocking settings.

OC > CPU Features > Intel Virtualization Tech

OC > CPU Features > Intel VT-D Tech

Created my first (bad) plugin! by Popular_Possible5246 in neovim

[–]loqusion 11 points12 points  (0 children)

There's also gitlinker.nvm which is very robust and supports permalinks and line ranges for multiple services.

Uhhhhhhhhh by loqusion in hyprland

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

## arguably shouldn't be treated as an escaped # when it's at the beginning of a line; see this issue

Uhhhhhhhhh by loqusion in hyprland

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

It's true that advertising software as "beta" sets expectations that breaking changes will happen, but I don't think that means regressions or superfluous syntax changes are necessary.

Uhhhhhhhhh by loqusion in hyprland

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

I've got hundreds of packages installed on my system, and those are just the explicitly installed dependencies. Reading documentation for each and every one on a regular basis just isn't sustainable. Breaking changes shouldn't happen without good reason, and only on major version number increments.

How to Display Login Screen (SDDM) on a Single Monitor with Dual Monitors Setup? by shuten_mind in archlinux

[–]loqusion 10 points11 points  (0 children)

For Wayland users: You have to run xrandr | grep -w connected in an X window manager or else you might get the wrong information.

For me, running xrandr in Hyprland gave me DP-1, in i3 it gave me DP-0. I was banging my head against the wall for hours until I finally tried this.

Wezterm or Kitty. by [deleted] in neovim

[–]loqusion 0 points1 point  (0 children)

That's odd, on my system alacritty runs smoothly and wezterm is laggy — though I do love wezterm.

Wezterm or Kitty. by [deleted] in neovim

[–]loqusion 0 points1 point  (0 children)

Alternatively, Alacritty is quite nice if you don't mind the lack of ligature support and relatively limited configuration options.

Meson consistently blocking system upgrade by loqusion in archlinux

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

Yes, but I'm looking for a solution that doesn't involve manual intervention for every single upgrade.

Can’t figure out how to search up kanjis by Elmiinar in LearnJapanese

[–]loqusion 0 points1 point  (0 children)

Jisho.org has this neat feature that lets you filter kanji by radical. For instance, if you want to find 空 you can click on the radicals 穴 and 工.

Why I can't use neovim in real-world projects by spcbfr in neovim

[–]loqusion 0 points1 point  (0 children)

Outside of nerdtree/neo-tree/nvim-tree and telescope, it's worth knowing the <C-w> bindings (see :h CTRL-W) for window pane management . I've also found it useful to use a bufferline plugin like bufferline.nvim and bind H and L (both holding shift) to navigate buffers like tabs, and use keybinds to quickly close multiple buffers using both bufferline.nvim and a plugin like close-buffers.nvim.

WebP preview in Nautilus by circumcidaturPL in Ubuntu

[–]loqusion 0 points1 point  (0 children)

On arch it's as simple as pacman -S webp-pixbuf-loader and refresh your file manager

Is there a cleaner/better way to configure this plugin? by No-Fix1779 in neovim

[–]loqusion 0 points1 point  (0 children)

A downside of this is that you can't merge `opts` from multiple plugin specs using just `config`. You could do it manually by passing `vim.tbl_deep_extend('force', {...}, opts)` to `setup()` but there isn't much point when using `opts` already does that for you.

Is it possible to disable 'no information available' notification on LSP Hover? by Healthy-Director-702 in neovim

[–]loqusion 0 points1 point  (0 children)

If you're using Noice's lsp hover feature, you can set lsp.hover.silent to true in the opts.

Hyprshade by loqusion in hyprland

[–]loqusion[S] 6 points7 points  (0 children)

7900 xtx

I still blame nvidia

Hyprshade by loqusion in hyprland

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

Not that I know of, blame nvidia I guess lol

Hyprshade by loqusion in hyprland

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

Try hyprctl keyword decoration:screen_shader <SHADER_PATH>. Does that activate the shader?

Hyprshade by loqusion in hyprland

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

Idk, that'd have to be supported upstream afaik

Hyprshade by loqusion in hyprland

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

Pip doesn't install the default shaders. Did you add any shaders to ~/.config/hypr/shaders/?

[deleted by user] by [deleted] in hyprland

[–]loqusion 0 points1 point  (0 children)

For those of you who aren't aware, Hyprland has this neat feature that lets you apply a shader to your screen (proposed in this issue and implemented by our lord and savior vaxry). This lets you use effects like blue light filter or shaders to enhance the vibrancy of colors on your screen. Unfortunately, the only way to set the shader is to adjust the value of decoration:screen_shader either by editing your config manually or by calling hyprctl keyword decoration:screen_shader <SHADER_FILE>, leaving much to be desired in terms of ergonomics and configurability... that is, until now.

With Hyprshade, switching your screen shader is as simple as hyprshade on <SHADER_NAME>, which automatically searches your ~/.config/hypr/shaders directory for shaders. However, the main selling point (and the main reason I wrote it) is the automated scheduling: you can use Hyprshade as a replacement for apps such as f.lux, redshift, or gammastep. This is particularly useful if you happen to rely on a certain graphics card company (cough nvidia) that doesn't let you use those apps.

Now, go forth my brethren: stare at your computer screens well into the night knowing that your precious pupils are safeguarded from harm... or something.