jlai.lu

ctr1, (edited ) to linuxmemes in Oh no ...
@ctr1@fl0w.cc avatar

This is always the first thing I get set up:

# focus next available workspace on this output

bindsym $mod+q exec --no-startup-id ws=$(i3-msg -t get_workspaces | jq ‘.[] | select(.focused) | .num’) && ofs=$(i3-msg -t get_outputs | jq ‘map(select(.active)) | length’) && i3-msg workspace $(($ws-$ofs))

bindsym $mod+w exec --no-startup-id ws=$(i3-msg -t get_workspaces | jq ‘.[] | select(.focused) | .num’) && ofs=$(i3-msg -t get_outputs | jq ‘map(select(.active)) | length’) && i3-msg workspace $(($ws+$ofs))

# move window to next available workspace on this output

bindsym $mod+Shift+q exec --no-startup-id ws=$(i3-msg -t get_workspaces | jq ‘.[] | select(.focused) | .num’) && ofs=$(i3-msg -t get_outputs | jq ‘map(select(.active)) | length’) && dest=$(($ws-$ofs)) && i3-msg move workspace $dest && i3-msg workspace $dest

bindsym $mod+Shift+w exec --no-startup-id ws=$(i3-msg -t get_workspaces | jq ‘.[] | select(.focused) | .num’) && ofs=$(i3-msg -t get_outputs | jq ‘map(select(.active)) | length’) && dest=$(($ws+$ofs)) && i3-msg move workspace $dest && i3-msg workspace $dest

Works with sway if you replace i3-msg with swaymsg (and remove --no-startup-id, since it’s not needed for Wayland).

Edit: ampersand issues, trying quote instead of code block

EmergMemeHologram, (edited )

This is so much smoother than my vim config and tmux config…

ctr1,
@ctr1@fl0w.cc avatar

My neovim config is a total mess :D. But yeah i3-msg+jq is great, I’ve written a number of solutions to this problem before using the API and external scripts, but it’s nice having things inline in the config file

EmergMemeHologram,

My neovim config is unruly.

I have a folder with config files that I source, one for plugin installs, one for custom commands and hot keys, one for themes (I have a script to manage light and dark modes by time of day), one for project specific file type augroups. I’ve got a bunch of scripts in my home/.bin folder that parse different project files into json on git commit, and then I use vim script and FZF to do custom completion helpers and jump tools with that data. Then there’s my snippets folder…

I can never leave vim. It has taken over the pathways in my brain.

ctr1,
@ctr1@fl0w.cc avatar

Nice, sounds pretty cool. FZF is great, I need to try out some new things with it. Never got into snippets but I’m sure that speeds things up considerably, will think about it.

Yeah separate config files is probably the best approach if you have a lot of things configured. I haven’t done that yet, but might try soon. My config has generally been pretty simple, mostly bindings and plugin settings. But I started developing in the TTY and had to shoehorn-in a conditional theme and such to get it to work properly, leaving it pretty unorganized.

| I can never leave vim. It has taken over the pathways in my brain.

Haha, yeah

Immersive_Matthew, to linuxmemes in Oh no ...

I don’t get it. I am on sh.itjust.works and yes I see the odd Linux post, but not so many that it stands out. I am even on many tech subscriptions. This seems overblown.

murph, to linuxmemes in Oh no ...

Your Mastodon feed will be entirely about who the people you follow are talking about, so follow different people, (or hashtags) and the conversation will change.

HubertManne,
@HubertManne@kbin.social avatar

yeah, not sure if its a mastadon thing but im coming out of kbing and I don't see very much linux stuff and im subscribed to several magazines. Not that the linux stuff is not there but there are tons of other things to. If I was not subscribed I would likely not see it at all.

atocci,
@atocci@kbin.social avatar

I browse All a lot and right now, without doing any scrolling and just looking at the top 6 posts on All that fit on my monitor, 2 of them are about Linux lol

mesamunefire,

I subscribe to people that talk about their pets. It’s a good life.

kidpixo, to linuxmemes in Oh no ...

I feel the pain, my i3 config is way(land) too long and not elegant enough…

huntrss,

I thought as well: should be sway ;)

NocturnalMorning, to linuxmemes in Oh no ...

I don’t see that much linux on my feed, you can always unfollow the Linux community.

Johanno,

No don’t unfollow us! Instead RTFM

ichmagrum,

Some people are running Linux but just don’t care that much about linux-related content.

NocturnalMorning,

I had look up what RTFM meant, but I had a good laugh afterward.

redcalcium,

“read the friendly manual”

sanqueue, to linuxmemes in Oh no ...

Just like how Linux takes up 75% of the adoption rate?

Octavio, to linuxmemes in Oh no ...

That’s interesting I’ve been on Mastodon for just over a year and nobody has mentioned Linux yet.

AceFuzzLord, (edited ) to linuxmemes in Oh no ...

Totally depends on the instance. There are definitely furry communities here in Lemmy and they definitely feel lonely. But I have heard of some furry mastodon instances that actually are lively and active. No idea if they actually are since I don’t have a clue why I can’t access my mastodon account, let alone what instance I signed up on.

But active non-Linux, non-Star Trek meme groups definitely are a thing, despite how small they are.

Arthur_Leywin, to linuxmemes in Oh no ...

That sounds like a skill issue.

paddirn, to linuxmemes in Oh no ...

I mainly only use Linux with my SteamDeck now, but I’ve made use of it at various other times in the past, so I’m semi-familiar with it. Kind of the same boat though, I’ll see memes about it and I’m just like “Heh hehe heh…” ¯_(ツ)_/¯ “I don’t get it.”

janAkali, to linuxmemes in Oh no ...

I have pretty minimalistic setup.

Three dropdown terminals, managed by a bash script: top for quick commands, left and right for nvim.

Bar is i3bar, with a custom status program written in Nim language (can display any command output with conditional colors).

gentooer, to linuxmemes in Oh no ...

Too bad I can’t hear you over my sway setup

Texas_Hangover, to lemmyshitpost in Weird 🤔

This is the stupidest fucking thing I’ve seen all day, and it’s been a long day.

Slinky5737, to lemmyshitpost in Weird 🤔

Eat farts.

NeroToro, to memes in The decentralized web is growing

So for twitter it’s mastodon, for reddit it’s lemmy, for youtube odysee maybe, but what is it for facebook?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #