mershed_perderders

@mershed_perderders@sh.itjust.works

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mershed_perderders,

and not a very good one… it reads like it was written by an ESL high schooler

mershed_perderders,

I can’t believe you don’t need anything from WEWEQ or GOVEEUOO or QUOPEO. These are household brand names!

mershed_perderders,

Here is the script. It’s already written, you just need to run it:

lemm.ee/post/608605

Alternatively, there is a browser bookmark that kinda does the same thing: feddit.de/post/808717

you can find all sorts of things to customize lemmy over at !plugins or sh.itjust.works/c/plugins (shameless plug)

!plugins

mershed_perderders,

I prefer the information density of old.reddit. The wasted space of the default lemmy UI irks me.

But I am also old and crotchety. If the spread out / modern UI of Lemmy (and squabbles.io and tildes and new.reddit) weren’t more desirable, they (probably) wouldn’t be coded that way.

mershed_perderders,

please do not have an emergency at this location

mershed_perderders, (edited )

Wait, does the "block communities" feature in profile settings only block communities on the home instance? If so, that seems like a substantial opportunity for improvement.

mershed_perderders,

ah, gotcha. very nice

Force external links to open in a new tab (greasyfork.org)

I put this together based on another very similar script (attributed, of course) I found on beehaw that forces external links to open in a new tab. Should work on every Lemmy instance by checking the header. While it uses http*:/// as the match, it only executes any logic if the isLemmy check returns true....

mershed_perderders,

don't know why it cross-posted all over the fediverse... that was not my intention

mershed_perderders,

oh. odd behaviour

mershed_perderders, (edited )

https://join-lemmy.org/docs/administration/theming.html

it's a little cryptic. It talks about bootstrap (ok, fine) and then links to a bootstrap builder (there is where I get lost). As I have mentioned in the past, CSS isn't really my bag (baby). I just poke around until I like how it looks...

mershed_perderders,

that was the impression I got. I attempted to start with theming and noped out.

I'd copy darkly.css if I could, but a) it isn't a simple theme, and b) I can only seem to locate the minimized version. That would also lock people into a dark theme, which seems silly and a little presumptuous.

mershed_perderders,

Yeah, the old.reddit.compact script already edits most of those styles. It's less about the CSS which has already been written/modified and more about getting it into Lemmy as a selectable style rather than relying on Stylus or Tamper/Violentmonkey

mershed_perderders,

yeah, i was aware of the theming and UI discussion. I've actually started a new userscript based on the beta test instance here: https://enterprise.lemmy.ml/

The CSS will indeed look the same from a layout perspective, but it doesn't change any colors - and you can't select two themes at the same time (currently). It doesn't destroy any bootstrappy defaults, but it would default back to the standard bootstrap color theme. This is why I lean towards this not being appropriate for a "native" Lemmy theme.

Converting the script to stylus is rather trivial - especially now that the comment collapse button and mobile styling is being modified with pure CSS. There are no other functions to convert.

mershed_perderders,

no, I have no ability to upload .css to UI. But that's where folks want it - selectable along with darkly, litely, etc.

mershed_perderders,

for your second point: yes, proper testing would require a theme separate from the defaults.

for your first point - that's where the work is: replacing only the things that are modified by the script to use the script values in addition to any color theming. It is a big job... One that may not be doable at this time.

mershed_perderders, (edited )

So, I don’t think this could be a theme because... What you are doing is replacing the Bootstrap code itself

yeah, this is what I thought. Makes sense and I appreciate the insight/feedback.

As a sidenote, reading your code I saw you used the browser’s user agent to check for mobile users.

Yes indeed. That's coming out. New released updates handle screen width with pure CSS (the @media you mentioned) so there's no need to check for browser type/agent anymore. In fact, I'm getting rid of basically all the functions (except for the tagline reposition which I'm pretty sure won't be needed for v0.18).

mershed_perderders,

yep, that is the new version

mershed_perderders, (edited )

how big we talking in pixels? I can add some more @media tags (probably)

mershed_perderders,

dats beeeg. ok thx

mershed_perderders,

When you get a free moment, check out one of the script updates here: https://github.com/soundjester/lemmy_monkey/tree/dev-Lemmy-v0.17.

I've cleaned up a lot of things and added a big-screen handler around line 120. Perhaps you can experiment with the width as you like and let me know what works.

mershed_perderders,

Unfortunately, no - not at this time. Partly because I lack the skill to do it, and partly because it isn't really a "theme" as such. It doesn't change the colors or do some of the things a theme typically does. In truth, the script is actually (essentially) theme agnostic - I use it with darkly, but it works with all of the other Lemmy themes without issue (hopefully).

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