prunerye

joined 1 year ago
[–] prunerye@slrpnk.net 39 points 6 days ago (38 children)

Good. I don't need light in the evening, I need it in the morning so I can wake up feeling rested. End DST; make standard time permanent.

[–] prunerye@slrpnk.net 3 points 1 week ago (1 children)

I know this is a bit of a necro-bump, but Today I Found Out just released a video answering exactly this question: https://inv.nadeko.net/watch?v=ipDdWx67H9M

spoilerApparently, adults are better at learning languages than kids.

[–] prunerye@slrpnk.net 2 points 1 week ago (1 children)

Aside from your preference for debian-based distros, you're describing Garuda pretty well. But the chaotic-AUR is enabled by default, so you'd never need to hunt for .deb files in the first place. And the update script, "garuda-update", has a bunch of nice features by default, like taking snapshots and running grub-update (which would have prevented the grub fiasco that hit the arch-based distros a while back).

The only pain points are 1.) If you don't like Garuda's theming, you'll need to do some minor ricing to start, and 2.) Plasma 6 updates often enough that on a rolling release distro, something minor about your setup might break once every few months, e.g. KDE allows themes to set a minimum taskbar size and all of a sudden your taskbar increases in size, or your wallpaper gets reset for some reason.

[–] prunerye@slrpnk.net 1 points 1 week ago

KDE, because I'm too lazy to switch back to XFCE, which offered every feature I already use in KDE except without the stuttering, the bugs, and the update cycle that breaks things way, way too often on a rolling release distro.

Or openbox. My old laptop has openbox, but that's more for screwing around with EWW than doing day-to-day things.

[–] prunerye@slrpnk.net 1 points 1 month ago* (last edited 1 month ago) (1 children)

Pretty much any distro can do everything you want. But since you liked crunchbang, consider Mabox. It's an openbox distro based on Manjaro with a bunch of QoL improvements like super+arrow to tile a window, or their own little fork of jgmenu to expand the functionality of the tint2 panel, plus some custom ricing tools. I'm not saying it's the best distro ever, but it might give you just the right nostalgic feels.

[–] prunerye@slrpnk.net 112 points 1 month ago (7 children)

I guess RAM is a bell curve now.

  • 32GB: Enough.
  • 16GB: Not enough.
  • 8GB: Not enough.
  • 4GB: Believe it or not, enough.
[–] prunerye@slrpnk.net -3 points 1 month ago (8 children)

One good thing doesn't even outweigh one bad one. What do you call someone who tells 99 truths and one lie?

A liar.

It's the same here; there's an asymmetry between doing what's right and betraying someone's trust. When Mozilla can demonstrate consistent integrity, maybe I'll stop using a fork.

[–] prunerye@slrpnk.net 16 points 1 month ago

Technically, hippos don't swim. They run along the ground. So if you pick a deep enough body of water, you might still have a chance.

[–] prunerye@slrpnk.net 1 points 2 months ago

This is delightfully unsettling.

[–] prunerye@slrpnk.net 1 points 2 months ago

This is also true in the US, at least where I live.

[–] prunerye@slrpnk.net 3 points 2 months ago (1 children)

Does a vote of no confidence mean anything? In American orchestras, musicians have virtually no power.

 

Edit: TL;DR, a literal can't contain multiple children. The opening bracket that starts the literal must be closed at the end of the literal, with no other yuck appended.

I've been playing with Elkowar's Wacky Widgets in an attempt to replace tint2 on openbox. Specifically, I've been working on a taskbar widget. So far, I've managed to make a few bash scripts to generate all the necessary yuck (and png files) to create a rudimentary icon-only taskbar that updates itself every time _NET_ACTIVE_WINDOW changes. I've confirmed that the yuck works when I manually copy/paste the output of the bash script into eww.yuck.

Anyway, I've assigned this script to a deflisten variable called "tasks". When I run "eww state" in a terminal, I confirm that "tasks" is indeed defined (and regularly updated) with yuck that looks like this.

spoiler(box :tooltip Xfce4-terminal (eventbox :onclick ~/.config/eww/scripts/taskbaractions.sh 0x120000a 0x120000a (image :image-height 16 :path /home/prunerye/.config/eww/scripts/iconstorage/Xfce4-terminal.png))) (box :tooltip Geany (eventbox :onclick ~/.config/eww/scripts/taskbaractions.sh 0xe00010 0x120000a (image :image-height 16 :path /home/prunerye/.config/eww/scripts/iconstorage/Geany.png))) (box :tooltip Thunar (eventbox :onclick ~/.config/eww/scripts/taskbaractions.sh 0x140000d 0x120000a (image :image-height 16 :path /home/prunerye/.config/eww/scripts/iconstorage/Thunar.png)))

(Unrelated, but why doesn't eww recognize "~/" in image filepaths?)

But when I use "tasks" to generate my taskbar widget with a literal, nothing appears, save for a slight overall change in the spacing on my topbar, though this happens inconsistently. Here is the relevent yuck.

spoiler(defwidget task_bar [] (box :orientation "horizontal" :space-evenly true :spacing 2 :halign "start" (literal :content tasks)))

Here's the full tree:

spoiler(defwindow main :class "main" :monitor 0 :geometry (geometry :x "0px" :y "0px" :width "100%" :height "16px" :anchor "top center") :vexpand false :stacking "fg" :windowtype "dock" :wm-ignore true :reserve (struts :distance "16px" :side "top") (topbar))

(defwidget topbar [] (box :orientation "h" :space-evenly false (foo) (task_bar) (bar)))

(deflisten tasks ~/.config/eww/scripts/taskbarliteral.sh)

(defwidget task_bar [] (box :orientation "horizontal" :space-evenly true :spacing 2 :halign "start" (literal :content tasks)))

I found a possibly related closed issue at https://github.com/elkowar/eww/issues/871 but the issue doesn't provide much detail.

Any idea what I'm doing wrong?

Edit: Lemmy does funny things with ` quotes. Click the view source button to see raw text.

Edit2: I booted up my openbox/eww setup this morning and was shocked to find a working task bar when I opened a window... but only the first window. Once I open a second window, my taskbar is blank.

Edit3: Edit2 was my eureka moment. Why would only the first window load? I now have a suspicion that eww literals are treated as parents that can't have more than one child; when I shifted the literal's parent "box" into the bash script, the task bar suddenly worked! The new task_bar defwidget looks like this.

spoiler(defwidget task_bar [] (literal :content tasks))

And "tasks" is now defined as

spoiler(box :orientation "horizontal" :space-evenly true :spacing 2 :halign "start" (box :tooltip Xfce4-terminal (eventbox :onclick ~/.config/eww/scripts/taskbaractions.sh 0x120000a 0x120000a (image :image-height 16 :path /home/prunerye/.config/eww/scripts/iconstorage/Xfce4-terminal.png))) (box :tooltip Geany (eventbox :onclick ~/.config/eww/scripts/taskbaractions.sh 0xe00010 0x120000a (image :image-height 16 :path /home/prunerye/.config/eww/scripts/iconstorage/Geany.png))) (box :tooltip Thunar (eventbox :onclick ~/.config/eww/scripts/taskbaractions.sh 0x140000d 0x120000a (image :image-height 16 :path /home/prunerye/.config/eww/scripts/iconstorage/Thunar.png))) )

view more: next ›