🌉 bridged from @alecsargent@lemmy.zip by Tidepool
alecsargent
@alecsargent.lemmy.zip.ap.tdpl.io
toml-bombadil | A dotfile manager with templating
A dotfile manager written in Rust • Dotfile template: define your dotfiles templates and link them as needed. • Dotfile profiles: create profiles for different machines and situations and combine them on the flow. • Installation hooks: run custom commands before and after installing your dotfiles. • Gpg encryption: add encrypted secrets to your dotfile configuration with gpg.
Why another dotfile manager ? I wrote Toml Bombadil because I kept changing my desktop environment: switching from i3 to sway, from sway to xfce, from xfce to gnome and back to sway. When you keep changing your working environment like this you end up with several problems: • Some symlinks will end up orphans. • Not every program you use support Xresources and you will most probably have to manually edit some themes/config. • When starting a fresh installation you will very likely need to adapt your existing dotfiles to your new machine. • It is a mess. Toml Bombadil try to solve this with a simple addition to the symlink method used by other tools: instead of creating a symlink from a dotfile to the actual config path of a program, it will create a copy of it and symlink the copy. This additional step allow to use your original dotfile as a template and inject variables in the copy. You can have multiple value files in the same dotfile repository and change color scheme, or any value on the fly. In addition, this is completely optional, you could start using Toml Bombadil only to generate symlinks and templatize your dot file progressively.
———
github.com
wl-dock | Lightweight Qt-based panel/dock built exclusively for wlroots
I don't use docks, but this one seems to have nice features that I would appreciate if I did use one.
github.com
jdm - Jujutsu Dotfile Manager
Hello, I made jdm. It is a yadm (Yet Another Dotfiles Manager clone that works with Jujutsu too. If you use yadm and prefer using Jujutsu rather than Git then you will like jdm. I have not added hooks or templates to its functionality but its base and encryption works. Any help would be appreciated as I'm no developer, and mistakes can be made. ― former yadm user
codeberg.org
That is a lot of flags
Tradional Usage tar {A|c|d|r|t|u|x}[GnSkUWOmpsMBiajJzZhPlRvwo] [ARG...]——— It is invigorating.
420 Subscribers!
Fun fact: Snoop Dogg does not use i3.
See you all at 666 then, or maybe earlier if I find a funny number.
RSS Feed Requests
So far the subscription list includes the following:
Wayland
• Hyprland • Sway • River • Labwc • Jay • Niri • Mango
MacOS
• Paneru • Aerospace • Yabai
Windows
• Komorebi • Glaze WM
X11
• IceWM • Qtile
I'm missing several window managers to please tell me which ones would you like to receive updates on. Other utilities like status bars and menus are also welcome.
Doors | Wayland Compositor Inspired by BSPWM
300 subscribers!
Actually we are at 400 now but I missed the 300 mark. So here goes a slowpoke. image ——— Anyway, thank you all for subscribing. Remember to back up those sweet dotfiles and wallpapers. See you all at 420.
libcaca
Thought this was a joke but turns out it is a serious joke of a library for rendering ASCII art.
neoclear | A clear replacement in the spirit of pyroclear
A clear replacement in the spirit of https://crates.io/crates/ pyroclear, but instead of burning the screen down it pours in streams of braille glyphs like neo --charset braille, cmatrix-style.
——— I found this to be pretty fun and sexy.
Konveyor | Scrolling tiling for KDE Plasma
Your windows, on a conveyor belt. Konveyor turns Plasma into an endless, scrollable row of windows. Nothing overlaps, nothing gets buried, and the rest of your desktop stays exactly the way you like it.
——— Pretty nice project I just found out about. Love to see people creating tools like these (and Cosmic) to allow users to find a middle ground between classic floating desktop environments and standalone window managers.
github.com
Dewlock | A minimal, beautiful screen locker for Wayland
dewlock is a customizable screen locker for Wayland built for a minimal, beautiful experience. It's a fork of swaywm/swaylock, but unlike its predecessor shows an input field while inputting a password.
——— image
github.com
Nordwand Mono - A compact monospace neo-grotesque font designed for developers (and adventurers).
banner A compact neo-grotesk font designed for coding.
Philosophy
I'm very passionate about the font I am using for my terminal and overall neovim experience, and I couldn't find the "perfect" font. So I decided to design one from scratch using python. This font aims to bring some elements from the all time classic "Univers" font into the proportions of the "JetBrains Mono" font. The name "Nordwand" is a reference to switzerland and its iconic typography – bringing it into the stiff and cold atmosphere of the swiss north faces. Amongst the inspirations for the design, you might identify: • Univers from Adrian Frutiger • SF Pro & SF Mono from Apple • Alpes Mono from Sharp Type • Ubuntu Mono from Dalton Maag
——— Found this new font and loved it.
github.com
How to close all windows in Hyprland at once
cross-posted from: https://lemmy.zip/post/71142365
lua
local function closeAllWindows() local windows = hl.get_windows() for _,w in pairs(windows) do hl.dispatch(hl.dsp.window.close({ window = w })) end end local function closeAllWindowsCurrentWorkspace() local cws = hl.get_active_workspace() local windows = hl.get_windows({ workspace = cws }) for _,w in pairs(windows) do hl.dispatch(hl.dsp.window.close({ window = w })) end end -- Probably add another mod key for safety reasons. hl.bind(M .. "+BackSpace", closeAllWindowsCurrentWorkspace ) hl.bind(M .. "+Delete", closeAllWindows )How to close all windows in Hyprland at once
lua
local function closeAllWindows() local windows = hl.get_windows() for _,w in pairs(windows) do hl.dispatch(hl.dsp.window.close({ window = w })) end end local function closeAllWindowsCurrentWorkspace() local cws = hl.get_active_workspace() local windows = hl.get_windows({ workspace = cws }) for _,w in pairs(windows) do hl.dispatch(hl.dsp.window.close({ window = w })) end end -- Probably add another mod key for safety reasons. hl.bind(M .. "+BackSpace", closeAllWindowsCurrentWorkspace ) hl.bind(M .. "+Delete", closeAllWindows )How to close all windows in Sway
# Kill focused container. $m+c kill # Kill all windows in in focused workspace. $m+shift+c [workspace=__focused__] kill # Kill all windows. $m+ctrl+c [workspace=] kill
What menu/launcher do you guys use? And what else do you use it for?
I use fuzzel as a launcher. I also use it for the following: • manage bookmarks • manage session (poweroff, suspend, logout, etc) • manage clipboard • manage monitors (displays) • search online (search engine, Arch packages, AUR, Wikipedia). • emoji picker These are in my dotfiles if anyone is interested. ——— I'm asking purely out of curiosity and maybe the urge to steal dotfiles.
steppewm - minimal stacking wayland window manager
The demo looks pretty impressive to me.
github.com
How to avoid some keybind repetition in Hyprland
I found the following useful to keep they keybind configuration shorter and easier to modify.
lua
for i = 1, 10 do local key = i % 10 hl.bind( M .. "+" .. key, hl.dsp.focus({ workspace = i }) ) hl.bind( M .. "+SHIFT+" .. key, hl.dsp.window.move({ workspace = i, follow = true }) ) hl.bind( M .. "+CTRL+" .. key, hl.dsp.window.move({ workspace = i, follow = false }) ) endAnd for special workspaces too:
lua
local function specialWorkspaceKeybind(name, key) hl.bind( M .. "+" .. key, hl.dsp.workspace.toggle_special(name) ) hl.bind( M .. "+SHIFT+" .. key, hl.dsp.window.move({ workspace = "special:" .. name }) ) hl.bind( M .. "+CTRL+" .. key, hl.dsp.window.move({ workspace = "special:" .. name, follow = false }) ) end specialWorkspaceKeybind("quickterm", "i") specialWorkspaceKeybind("calc", "h") specialWorkspaceKeybind("matrix", "u")Blogroll Templates
Here is how one could do a blogroll in Hugo: We need a template dedicated to this particular blogroll page in
layouts/blogroll.htmlgotmpl
{{- define "main" }} <h1>{{ .Title }}</h1> {{ .Content -}} {{- with hugo.Data.blogroll }} <ul> {{- range sort . "blog" -}} <li> <a href="{{ .url }}" rel="external" class="wt-500">{{ .blog }}</a> {{ with .rss }} <a href="{{ . }}" class="fgshade3">[RSS]</a> {{ end }} {{ with .atom }} <a href="{{ . }}" class="fgshade3">[Atom]</a> {{- end -}} </li> {{- end }} </ul> {{- end }} {{- end }}And then set the layout in the corresponding page frontmatter:
md
+++ title = "Blogroll" description = "The awesome blogs I read" date = "2025-04-04T00:00:00-03:00" layout = "blogroll" +++ Blogs I follow that one may want to visit.
And finally place the data file in
data/blogroll.json:json
[ { "blog": "Example One", "url": "https://example1.com/", "rss": "https://example1.com/index.xml" }, { "blog": "Example Two", "url": "https://example2.com/", "rss": "https://example2.com/index.xml", "atom": "https://example2.com/atom.xml" }, { "blog": "Example Three", "url": "https://example3.com/", "rss": "https://example3.com/index.xml" } ]To make a blogroll template in Zine we define a template for the specific page in
layouts/blogroll.shtml:html
<extend template="footer.shtml"> <head id="head"></head> <header id="header"></header> <main id="main"> <h1 :text="$page.title"></h1> <ctx :html="$page.content()"></ctx> <ul :loop="$page.asset('blogroll.json').ziggy()"> <li> <a class="wt-500" href="$loop.it.get('url')" :text="$loop.it.get('blog')"> </a> <ctx :if="$loop.it.has('rss')"> <a class="fgshade3" href="$loop.it.get('rss')">[rss]</a> </ctx> <ctx :if="$loop.it.has('atom')"> <a class="fgshade3" href="$loop.it.get('atom')">[atom]</a> </ctx> </li> </ul> </main> <footer id="footer"></footer>This template chains through other common repeated elements
footer->header->head(More on that on another post). Unfortunately I still haven't figured out how to sort the list. And then set the layout in the corresponding's page (content/blogroll/index.smdfrontmatter:smd
--- .title = "Blogroll", .date = @date("2026-06-10T22:11:54-04:00"), .author = "Alec Sargent", .layout = "blogroll.shtml", .tags = ["web", "blogroll"], --- These are blog I actually read and I'm subscribed to.We use the same data file from the previous Hugo example and place it in
content/blogroll/blogroll.jsonOptionally one could use$site.assetin favour of$page.assetand place the file in theassetsdirectory. Other formats like YAML and TOML may be used in Hugo as long as they have the same structure. ——— That is all, cheers.