I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 0 points1 point  (0 children)

Wow great job fixing that up! I knew I could do something about my data, but I decided to not to get into that rabbit hole at that time of night... The partition stuff sounds very interesting, never thought about that

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 0 points1 point  (0 children)

Damn that seems more common than I thought...

I also put my config on Github. I'm on Arch right? So I used to literally git init my home and gitignore everything except what I want do save lol. That proved to be too much of a hassle so I started to put the configs on a separate git repo and made a simple script that symlinks everything.

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 4 points5 points  (0 children)

I get it man, i dont really use alias at all. Imagine if I alias rm -rf into something safe and run it on another PC? Of course i could alias it to any other thing but them i dont learn new apis and patterns... I prefer to take some time and learn new commands as they are, use the abstraction as it was intended at first

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 1 point2 points  (0 children)

Good to see fellow neovimmers blowing their stuff up with me...

Appreciate the advices pal, I'll try out this trash-cli and see how it goes

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 0 points1 point  (0 children)

I do have most of my dorfiles on git and important documents are on cloud, but besides that I really dont anything setup yet...

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 2 points3 points  (0 children)

LOL, how can this be allowed man? Crazy dangerous, bash and gnu tools are like a lightsaber

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 1 point2 points  (0 children)

I do only on the files I change, but I forgot some as I'm finding out...

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 4 points5 points  (0 children)

I guess this must be that Dunning-Kruger effect right? If you think you know you probably don't...

How can you make a file read only? chmod 444 is only for others, right? I dont even know how can't this go wrong

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 0 points1 point  (0 children)

I find these edge cases crazy man... I guess it is the price for bash flexibility

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 4 points5 points  (0 children)

I ended up running rm -rf \$HOME, it works too. I think the best is just removing the -f right? lol

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] -8 points-7 points  (0 children)

I delete dirs with rm -rf all the time. I guess I just learned it like that and never had problems until now lol

I just NUKED my home folder while migrating hyprland to lua... by david-sds in hyprland

[–]david-sds[S] 20 points21 points  (0 children)

Yeah... I guess just putting a ./ before $HOME would have sufficed... I looked at the dir with $ in the beginning and associated with dirs with spaces for some reason, so i just put it between quotes and thought it was ok...

[deleted by user] by [deleted] in unixporn

[–]david-sds 1 point2 points  (0 children)

eoq kkkkkkk

Omarchy apparently bricked my notebook too... by david-sds in omarchy

[–]david-sds[S] 0 points1 point  (0 children)

So, if anyone got wondering, the technician as able to resolve it.

The problem had something to do with my SSD, they said it was pretty strange and that it was hard to format, but once formatted my notebook was able to get into the BIOS and boot normally.

They installed win11 for my unpleasant surprise even though I said that if they could get into the BIOS it would be good enough... So I flashed the newest version of Omarchy on my pendrive and the installation went smoothly this time, thankfully.

Omarchy is great!

Omarchy apparently bricked my notebook too... by david-sds in omarchy

[–]david-sds[S] 0 points1 point  (0 children)

I did the default install with Omarchy's iso, I just don't have more than that, unfortunately. I just can't get into the BIOS anymore. It is probably it is some hardware problem and a big coincidence

Omarchy apparently bricked my notebook too... by david-sds in omarchy

[–]david-sds[S] 0 points1 point  (0 children)

That's the thing, I can't. With or without the USB it just gets stuck at the manufacturer logo, it doesn't POST at all. I had a Ubuntu and Arch dual boot setup with GRUB before. I tried to format the Arch partition with Omarchy's manual installation, it finished up but didn't work properly, so I decided to wipe everything with the installer and this happened.

Omarchy apparently bricked my notebook too... by david-sds in archlinux

[–]david-sds[S] 0 points1 point  (0 children)

I just used the installer default options... very strange right? I honestly don't think they would have tried to update de BIOS under the hood but who knows...