"alright, we need to make our service worse to satisfy our real customers"
Hammerheart
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):
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.
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.
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.
okay, added the rest of the code.
Is it a low code tool?
Whats the difference between using backticks for the definition of theDisk and $() ?
- Identify the drives with the
lsblk
command. - Run
sudo mount <path/to/drive> <mount-point>
Where path/to/drive is most likely /dev/something and mount-point is any directory you want but id recommend creating it in your home folder. Don't include the angle brackets. You have to create the directory before you can mount the drive there.
If you don't want to do this every time you reboot, youll have to edit fstab like someone else said. Doing this a couple times will help you understand what fstab is actually doing.
I learned something very valuable relatively early in learning how to program: sometimes, if you do things you don't understand enough, the understanding will come as a byproduct of just doing the thing.
I had been stuck in a "i must understand the fundamental nature of everything i do before i do it" mindset, so this was quite revelatory to me.
I tend to agree with you. I work in a retail pharmacy and literally have had nightmares about work. Some folks dont know how good they have it. But in their defense satisfaction is an unfortunately ephemeral beast. When i first switched from the floor to pharmacy i was happier than id been in years. I still wouldn't go backwards, but god damn some days i would love a job where i can sit down and the only customer i have to worry about is my boss.
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.