aral, to random
@aral@mastodon.ar.al avatar

Just updated my WezTerm¹ configuration file. (In case you’re the kind of person that gets excited by such things.) 👋🤓

https://codeberg.org/aral/.config/src/branch/main/wezterm.lua

¹ https://wezfurlong.org/wezterm/

Brahn,
@Brahn@hachyderm.io avatar

@aral
-- This makes WezTerm appear almost native on GNOME when combined
-- with the Rounded Window Corners extension.
-- However, it does not appear to behaving well with the
-- Tiling Assistant extension. Does not tile correctly.

The struggle is real. 😂

aral,
@aral@mastodon.ar.al avatar

@Brahn Indeed :)

winslowjosiah, to python
@winslowjosiah@hachyderm.io avatar

Currently trying to use (a in ) to make a personal .

Turns out it's excellent at making a that is a blog, but it's not great at making a site that has a blog.

Wrestling through a whole mess of options... 😵‍💫

jaseg,
@jaseg@chaos.social avatar

@winslowjosiah I found hugo quite flexible for sites with or without blogs, as long as you're comfortable editing its HTML templates yourself. It allows for custom article types, categories and context-dependant rendering for things like article previews.

jochenwolters, to ADHD
@jochenwolters@mastodon.social avatar

Large animations can easily be highly distractive for folks with . Being able to pause them individually doesn't make things much better, especially if reloading the page starts them all over again.

It's really disappointing to see a design-focused company like use that type of purely gratuitous graphics on their conference website, and do so without offering a way to disable them all at once across the site.

That’s a sad lack of consideration for true . 🙁🤨🤬

siblingpastry,
@siblingpastry@mastodon.world avatar

@jochenwolters I just checked https://config.figma.com/ using MacOS with the "Reduce motion" setting, and they have done it correctly -- the animations are gone. (At least by default, though they still happen if you hover, so they've got it half right lol)

siblingpastry,
@siblingpastry@mastodon.world avatar

@jochenwolters Tangentially, you might be interested to read about the cognitive load theory around this issue -- https://www.tpgi.com/the-impact-of-motion-animation-on-cognitive-disability/

triskelion, to random
@triskelion@floss.social avatar

https://www.phoronix.com/news/Vim-XDG-Base-Directory-Spec

It happened! Vim is now among the apps that have adopted the $XDG_CONFIG_HOME standard for storing user-specific configuration files. However, there are still many apps that use the older ~/.app convention or other specific locations for storing configuration files. Why is this the case?

screwtape, to emacs
@screwtape@mastodon.sdf.org avatar

many / phost;

In my quest for an easier emacs on ramp, I made an org file for adding templated elisp source block sections to itself, which tangles to an elisp file, to be loaded on startup.


gopher://tilde.club/0/~screwtape/config.org.txt
gopher://tilde.club/0/~screwtape/about-config.org.txt

https://gopher.tildeverse.org/tilde.club/0/~screwtape/config.org.txt
https://gopher.tildeverse.org/tilde.club/0/~screwtape/about-config.org.txt

What does everyone think. @mattof @louis @pkw @vidak

louis,
@louis@emacs.ch avatar

@screwtape @mattof @pkw Love it. I use entangled Elisp code blocks often.

At some point I had my whole init in an org file, but reverted, it just became too complex to manage.

daviwil, to emacs
@daviwil@fosstodon.org avatar

🔴 Today on Live, we'll discuss a major change I'm making to my Emacs configuration: the total removal of Evil Mode. We'll hack on my configuration a bit to figure out some ways to smooth out the transition.

Can I kick the habit, or am I forever possessed?

Join us here: https://systemcrafters.net/live

🕐 in your time zone: https://time.is/compare/1800_in_Athens

panmaster,
@panmaster@mamot.fr avatar

@daviwil the game changer that helped a lot for me was home row mods: https://precondition.github.io/home-row-mods

daviwil,
@daviwil@fosstodon.org avatar

@panmaster nice article, thanks a lot!

arda, to environment
@arda@micro.arda.pw avatar

Runtime Should Depend on The Configuration, Not The Environment

https://nooptoday.com/runtime-should-depend-on-the-configuration-not-the-environment/

by Muhammed Kadir Tan

wagesj45, to weirdgirlmemes
@wagesj45@mastodon.jordanwages.com avatar

I hate when your run into an issue in your program, you google it, and zero results show up. :pepe_g:

5am, to linux
@5am@fosstodon.org avatar

I'm curious to know how others version control their private configuration files / docs / wiki. For now, I've created a #Gitea #Docker stack on my home network. Instead of copying the files I want to track into another folder and pushing from there, I've created hard links. Any other suggestions? #git #config #versioncontrol #linux @gitea

mforester,
@mforester@rollenspiel.social avatar

@5am have you looked at chezmoi?
https://chezmoi.io
I initially thought about using a setup similar to yours, but after reading the docs, I gave up on reinventing the wheel.
Chezmoi makes it incredibly easy to get all your configuration files into version control and if you need to manage differences between systems, it's got you covered as well.
I have a set of configs I need for work, some stuff I only need at home and a few things that are specific to Windows. 🙂

5am,
@5am@fosstodon.org avatar

@me @gitea Ah, I heard about GNU Stow some time ago but never got round to trying it!

bigMouthCommie, to emacs
@bigMouthCommie@kolektiva.social avatar

i have a lot of this going on:

(setq org-agenda-files
'("c:/Users/user/0.org" "c:/Users/user/1.org" "c:/Users/user/2.org" "c:/Users/user/3.org" "c:/Users/user/4.org" "c:/Users/user/5.org" "c:/Users/user/6.org" "c:/Users/user/7.org" "c:/Users/user/8.org" "c:/Users/user/9.org" "c:/Users/user/10.org" "c:/Users/user/11.org" "c:/Users/user/12.org" "c:/Users/user/13.org" "c:/Users/user/14.org" "c:/Users/user/15.org" "c:/Users/user/16.org" "c:/Users/user/17.org" "c:/Users/user/18.org" "c:/Users/user/19.org"))

can i just put line breaks in instead of using the space to improve readability? does it need to be escaped?

root42,
@root42@chaos.social avatar

@bigMouthCommie of course. Or you can M-x fill-paragraph (or M-q) and set a fill column first for nice alignment.

ryguw, to apple

On Feb 1st, 2024, released Pkl. Pronounced "pickle", it is a complete configuration scripting language, including a JSON/YAML/XML/more compiler, a language server, bunch of IDE plugins, and of course direct bindings for your favorite programming language, for quick adoption. A binding seems missing.

I like how a Pkl config's specs and values are colocated. Always hated maintaining separate schemas for very simple configs.

anderseknert,
@anderseknert@hachyderm.io avatar

@ryguw I wonder what they found lacking in CUE? Would be good to see a comparison somewhere, because this looks very similar. Or I’m missing something important.

lkanies, to devops
@lkanies@hachyderm.io avatar

Holy shit. I love everything about this: a cross-platform, standardized configuration language.

I have not had a chance to fully grok this. But this was definitely one of my dreams when I started Puppet. I did not want puppet to win. I just wanted something we all used, something that made us better, able to move on.

I don’t know if this is it. But it fills me with hope that people are trying.

https://pkl-lang.org/blog/introducing-pkl.html

lkanies,
@lkanies@hachyderm.io avatar

@mwop I don’t know HCL. But Lua is a full programming language often used for configuration, vs a language designed for configuration. As someone who has designed some and used many config languages, I think they’re a unique enough domain that they deserve a unique solution.

And in general, yes, you should probably have a comparison page somewhere. But i would never mention competitors in my main marketing.

I don’t know these people (afaik). I’m just happy someone is trying this

mwop,
@mwop@phpc.social avatar

@lkanies HCL is the hashicorp configuration language, used in Terraform and Packer. It's likely a closer comparison than Lua here. And I brought up the comparison because they already DO make comparisons, pointing out differences to JS, JSON, XML, and YAML. I'd love to understand what it does differently to HCL in this domain.

(HCL is ... an interesting beast.)

michaellenahan, to random

Hi, I seem to recall a few days ago someone posting here about a composer package which helps clean up discrepencies in yml in post upgrade.

But I can't find it!

I may have hallucinated it in my post-conf freshly-down-with-covid state ...

pcambra,
@pcambra@drupal.community avatar

@michaellenahan oh, I'd be interested in looking at how something like that works

michaellenahan,

@pcambra I looked back through the threads and genuinely think now it was a fantasy mirage brought about by being high on drupalcon and in a merciless covid fever at the same time.

boilingsteam, to linux
@boilingsteam@mastodon.cloud avatar
hhg, to rust

What is everyone using for files in ? I am trying to find a that supports both a file, but also overrides through env vars. I see config-rs is trying to go through a rewrite, but activity is sparse.

fasterthanlime,
@fasterthanlime@hachyderm.io avatar

@hhg lib.rs is curated to some extent so its search results are often more helpful than crates.io!

hhg,

@fasterthanlime thanks for letting me know! Did not know about the curation bit, which made me a bit skeptical!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • GTA5RPClips
  • thenastyranch
  • ethstaker
  • everett
  • Durango
  • rosin
  • InstantRegret
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • mdbf
  • slotface
  • tacticalgear
  • JUstTest
  • kavyap
  • modclub
  • cisconetworking
  • cubers
  • ngwrru68w68
  • khanakhh
  • tester
  • anitta
  • normalnudes
  • Leos
  • osvaldo12
  • provamag3
  • lostlight
  • All magazines