Hammerheart

joined 1 year ago
[–] Hammerheart 1 points 5 months ago

What a great read! Thanks so much for sharing this.

[–] Hammerheart 0 points 5 months ago* (last edited 5 months ago)

Cross posting from [email protected] because there's a lot of expertise here.

[–] Hammerheart 2 points 6 months ago

I have a T560 and i run debian with sway. It serves the dual purpose of getting me more comfortable in the terminal (i even use power shell on my windowa desk top a lot more now), and it runs much better than KDE or gnome did. Im missing some obvious quality of life settings like easily adjusting the power settings (it never sleeps, just turns off the screen and locks). But again, im trying to get more comfortable using the terminal so for me its more of a "take the training wheels off" thing.

[–] Hammerheart 18 points 6 months ago

Is this just referring to the firefox sync feature? I love being able to access tabs from my laptop on my phone and vice versa.

[–] Hammerheart 4 points 6 months ago

"alright, we need to make our service worse to satisfy our real customers"

[–] Hammerheart 3 points 6 months ago (1 children)

So not a whole lot has changed. I cringe thinking of all the youtube video that explain OOP like this

class Animal:


class Dog(Animal):
[–] Hammerheart 2 points 6 months ago

Yea, i have tried it. It spawns a new process, but doesnt display a window. Unfortunately i dont think theres a simple equivalent to putting in a display parameter like you could on linux (this is the sort of thing that made me switch my laptop to Linux btw. Windows makes it so hard to be a "poweruser." but i digress).

[–] Hammerheart 1 points 6 months ago

In case this thread turns up a google search, or anyone is keeping score, I think I more or less managed to achieve what I wanted by putting this is in my config:

assign [class="Firefox-esr"]  "2"
exec wezterm -e cmus
 exec swaymsg [app_id="org.wezfurlong.wezterm"] focus
 exec swaymsg move container to workspace "10"
 exec firefox

the only thing i don't love is that if quit cmus, it closes the window instead of bringing me back to the shell. maybe i have so chain commands or something, i don't know. i'm happy to have made it this far. Another thing is I don't know if it's possible to distinguish between the specific instance of wezterm that's running cmus, and the other one i want running on workspace 1.

[–] Hammerheart 1 points 6 months ago

I want my terminal to start on workspace one. Since this is default behavior of adding 'exec ' to my sway config, this requirement is satisfied. I also want Firefox to start up on workspace 2. And I would like another terminal to open on workspace 10, but to automatically run cmus, a terminal music player.

[–] Hammerheart 7 points 6 months ago (1 children)

That was it! I moved the two lines above the .configure() call into the outermost scope, and it works now.

Should probably just bite the bullet and OOP it out. I was putting that off until I figured out how I wanted the whole thing to work, but it will probably be easier to just do it and change it as I go instead of trying to raw dog it for too long.

[–] Hammerheart 2 points 6 months ago

okay, added the rest of the code.

[–] Hammerheart 2 points 6 months ago (1 children)

Is it a low code tool?

view more: ‹ prev next ›