Since you're interacting with external processes, cmd_exec is probably the right approach here. (There are some Luau libs to do process management, but they seem like overkill.)
Maybe shorten the whole thing to
hl.bind("SUPER + SHIFT + SPACE", hl.dsp.exec_cmd("pkill waybar && waybar'"))
To be fair, that's a pretty low bar. Although I'll never understand, how someone can get worked up about something as boring as an init system in the first place...
/dev/sdX is good enough for a one-off to get it to boot. And /dev/XYZ is how the Linux kernel finds it's root, ( hdX, Y ) is how grub finds the kernel...
You probably have root=UUID=xxxxxxxxxxxxxxxxxxxx somewhere in your boot parameters. It can't find that UUID any more for some reason...
edit the parameters in your boot loader, switch that bit to root=/dev/sdaX, boot and then make sure your fstab and bootloader config are correct. Regen your initrd to be on the safe side.
If you want umlauts with a US keyboard, try this:
~/.config/hypr/hyprland.lua
~/.xkb/symbols/us-german-umlaut
Now you can type the comoin umlauts with
RAlt+<key>, the table should be pretty self-explanatory.Edge seems to have problems with Wayland, starting it with
--ozone-platform=x11seems to fix it for now.Yeah, for commands originating in external binaries you'll have to resort to call hyprctl to call into hyprland.
Since you're interacting with external processes, cmd_exec is probably the right approach here. (There are some Luau libs to do process management, but they seem like overkill.)
Maybe shorten the whole thing to hl.bind("SUPER + SHIFT + SPACE", hl.dsp.exec_cmd("pkill waybar && waybar'"))
I had a few complex hyprctl calls in keybinds. Those are gone now, completely replaced by Lua logic.
You sure you even still need all your hyprctl.
sudo loginctl enable-linger fjueic?I would find it tedious to turn off my PC every time I walk away. Easier to lock the screen.
Jasmin rice!
This happens, when you lock Hyprland and your lock screen app dies/is killed.
It prevents someone who managed to crash your lock screen from accessing your desktop.
For people finding this in the future, here's a slightly optimized version:
There's always good ol' Midnight Commander...
To be fair, that's a pretty low bar. Although I'll never understand, how someone can get worked up about something as boring as an init system in the first place...
/dev/sdX is good enough for a one-off to get it to boot. And /dev/XYZ is how the Linux kernel finds it's root, ( hdX, Y ) is how grub finds the kernel...
You probably have
root=UUID=xxxxxxxxxxxxxxxxxxxxsomewhere in your boot parameters. It can't find that UUID any more for some reason...edit the parameters in your boot loader, switch that bit to
root=/dev/sdaX, boot and then make sure your fstab and bootloader config are correct. Regen your initrd to be on the safe side.Fascinating. Remind me, which single individual designed, built and flew all space missions for the US again?
They said no unneccessary sex...
A.I.
lsusbwill get you the IDs of your devices.I've got two rules because my mouse (Logitech G502) registers itself as two different devices depending on if the cable is plugged n or not.
Disclaimer: I had the exact opposite problem, my muse would wake up the PC at the slightest provocation, so I'm not sure this solution applies to you.
I got all my info from here: https://askubuntu.com/questions/252743/how-do-i-prevent-mouse-movement-from-waking-up-a-suspended-computer
And this is the file excluding the muse from the ACPI subsytem:
Hope that helps.
It‘s somewhere in systemd or udev iirc. I can look it up in a few hours when I’m back home.
Isn’t radeon the default driver?
I‘m not sure where exactly to find it, but you can specify USB vendor and product IDs to be ignored by the suspend system.
Question 1: Do we still need fluidic physics for that or can we just model the atmosphere as a solid object at that speed?
But not at significant fractions of c. Given enough speed, almost anything can become a planet killer.
You might like The Things by Peter Watts.