Skip to content

Instantly share code, notes, and snippets.

View dzintars's full-sized avatar
🇱🇻
Playing with Zuul CI

Dzintars dzintars

🇱🇻
Playing with Zuul CI
View GitHub Profile
@dzintars
dzintars / Qutebrowser.md
Created January 13, 2022 12:44
How to open Ranger in a Sway floating window from Qutebrowser

In a `~/.config/qutebrowser/config.py

config.set("fileselect.handler", "external")
config.set("fileselect.single_file.command", ['alacritty', '--class', 'ranger', '-e', 'ranger', '--choosefile', '{}'])
config.set("fileselect.multiple_files.command", ['alacritty', '--class', 'ranger', '-e', 'ranger', '--choosefile', '{}'])

In a ~/.config/sway/config

for_window [app_id="ranger"] floating enable
@dzintars
dzintars / Neovim.md
Last active March 19, 2022 08:06
Neovim setup

My Neovim setup

https://github.com/oswee/prime/ansible/custom/roles/nvim

Structure

99% of the config examples i saw in the wild gives me a feeling that people actually don't know what they are doing with Neovim configuration. Neither I do. But I am questioning myself: How to structure configuration in a clean, modular, swappable, easy to read and navigate way. There, in the wild, I see things like: "Throw it all in a single file", "Plugins are evil, vanilla Vim is all I need", "I will leave that dead code for the reference in case if I need it",

@dzintars
dzintars / 00-zuul-ci.md
Last active February 5, 2024 10:44
Zuul CI

Zuul CI & Gerrit Code Review

@dzintars
dzintars / inkscape.md
Last active February 19, 2024 11:00
How to Simple-Icons

How to create SVG cutouts/gaps in Inkscape

If you found this Gist, then keep in mind that it is not complete unting this message gets removed. There are missing steps.

TODO

  • Remove fill
  • Set the viewport
  • Export clean SVG
  • Optimizations?