[-] myxi@toast.ooo 1 points 1 hour ago* (last edited 1 hour ago)

Yesterday I heard of https://quickshell.outfoxxed.me/ but have never tried it myself. They have some pretty decent examples of widgets on their homepage. I think they have their own little langauge called QML which appears to be turing-complete.

Maybe that's what you're missing.

[-] myxi@toast.ooo 1 points 10 hours ago

I played with GTK's transitions a bit, but they don't seem to support scaling-related transitions, so I don't think you'll be able to do that.

I was able to make a simple one: https://files.catbox.moe/okh3zc.mp4

[-] myxi@toast.ooo 1 points 11 hours ago* (last edited 11 hours ago)

Waybar uses GTK stylesheets for the theming. In theory, GTK CSS does have support for transitions and animations, which could be used in your case. But I'd say it's a hard sell still. That aside I've never tried them in GTK, so I wouldn't know if they even work in practice or how far.

I think you have a shot at this with eww instead. But it's harder to work with and you'll need to make somewhat complex scripts I'd imagine.

[-] myxi@toast.ooo 1 points 13 hours ago* (last edited 13 hours ago)

Alright. I pushed the changes to remote.

NOTE: Waybar has a built-in module for showing temperature, it's just that I couldn't make it work for me and that's why I have a custom module to show CPU temperature. I recommend that you try the built-in one first (since it might work on your machine) for more minimal setup.

[-] myxi@toast.ooo 2 points 14 hours ago

I'm almost there, I think. I'll let you know in an hour or two.

[-] myxi@toast.ooo 1 points 17 hours ago

Eventually I'm going to push it my dotfiles Git repository, but right now I'm still figuring out the theming so it's not up yet.

[-] myxi@toast.ooo 2 points 18 hours ago* (last edited 18 hours ago)

I'm using Waybar for the system bar. It should work on most Wayland compositors.

45
submitted 18 hours ago* (last edited 13 hours ago) by myxi@toast.ooo to c/unixporn@lemmy.ml

I was planning on having a gruvbox-ish red color as the window border, however at the moment I had to settle for this color because the GTK theme I'm using has a weird focus ring of its own and I'm yet to figure out how to get rid of it.

Dotfiles: https://github.com/eeriemyxi/dotfiles

[-] myxi@toast.ooo 12 points 6 months ago* (last edited 6 months ago)

If anybody is curious, it's a real preprocessor for Python called PyGyat.

[-] myxi@toast.ooo 7 points 6 months ago* (last edited 6 months ago)

Vert guarantees a single file/directory when you extract something with it. If there are more than 1 file in the archive it will nest them in a directory. I have no plans to add any flags or anything to make it extract without nesting either.

[-] myxi@toast.ooo 6 points 6 months ago* (last edited 6 months ago)

So it detects if there's a single folder inside the zip containing all the files or all the files directly inside the zip?

Yes. It also has l (lowercase L) subcommand which lists the contents of the archives to the terminal (stdout).

[-] myxi@toast.ooo 8 points 6 months ago* (last edited 6 months ago)

UPDATE: Implemented VERT_USE_EXTERNAL_TOOLS environment variable. See #Configuration.

I had passed the filter parameter as "data", which should help prevent most issues with it but yes I agree that it would've been better to use external tools to do the heavy-lifting. I avoided them to make the program cross-platform and easier to setup (you currently can just run a simple pip command to install it). I may introduce them as optional backends later with a warning on the default ones but for now I'm postponing it.

83
submitted 6 months ago* (last edited 6 months ago) by myxi@toast.ooo to c/programming@programming.dev

I like trying out new things quite frequently and often times these tools are packed in an archive file. But I'm in constant fear whenever I am to unpack those archives because sometimes there are hundreds of files and the person who packed them wouldn't even do the bare minimum of nesting them inside a directory.

Dolphin (file explorer) had a useful thing where it would detect whether the contents are already nested and if they are not only then it would nest them inside a directory. I tried searching for something similar for the CLI but couldn't find anything so here it is. Another benefit is that it supports .zip, .tar.xz, .tar.gz simultaneously so I don't need to deal with manpages of unzip, tar thousand times just because I keep forgetting how to use them. Now it's just vert x file.zip.

I can add support for a few more formats but I don't feel the need at least for now (PRs welcome).

view more: next ›

myxi

joined 6 months ago