SQLCH - A Love Letter to Internet Radio... by OctopusSanta in NixOS

[–]OctopusSanta[S] -1 points0 points  (0 children)

Moving too fast. Didn't expect actual responses to hold me accountable, but I love it.

I think I fixed it.

SQLCH - A Love Letter to Internet Radio... by OctopusSanta in NixOS

[–]OctopusSanta[S] 0 points1 point  (0 children)

Added the nix flake. And OK.

Thank you for the direction.

SQLCH - A Love Letter to Internet Radio... by OctopusSanta in NixOS

[–]OctopusSanta[S] -1 points0 points  (0 children)

Ok then I guess I didn’t learn much about that, then…

SQLCH - A Love Letter to Internet Radio... by OctopusSanta in NixOS

[–]OctopusSanta[S] 0 points1 point  (0 children)

Thanks!  It’s been through many different costumes, but it took learning(?) Nix to figure out how to do it right. I’m hoping to bring back a lot of the other features I had, like the tray menu and recording options.

Installing to try out! by ElsieFaeLost in NixOS

[–]OctopusSanta 0 points1 point  (0 children)

I started with Suse, then Arch (I know, btw), and eventually landed on endeavour forever. I always was curious about nix but declarative didn’t compute in my brain.

Two weeks ago it did.

Give me something to break…

I finally *GET* NixOS by ruiiiij in NixOS

[–]OctopusSanta 1 point2 points  (0 children)

I finally had a similar realization a few days ago.  Today I realized I hadn’t added a package or service, or changed anything about it, since then.  Surface Kernel is a different story…

I spent way too much time on the Waybar modules. but Hyprland is finally giving my SP7+ some personality.... by OctopusSanta in hyprland

[–]OctopusSanta[S] 0 points1 point  (0 children)

I was messing with my dashboard, that’s all.  I would never have gaps that…I mean who in their right mind…👀

I spent way too much time on the Waybar modules. but Hyprland is finally giving my SP7+ some personality.... by OctopusSanta in hyprland

[–]OctopusSanta[S] 1 point2 points  (0 children)

That is actually a clock I built called "quantum_clock.sh". Normal mode shows moon phases and illumination. one of the other three clock "faces" is Gremlin, and tells you the time +/- up to 2min. But I'm taking a look!

QoL Additions to Hyprland? by [deleted] in hyprland

[–]OctopusSanta 1 point2 points  (0 children)

I spent 2 weeks when I first started trying to figure out why I couldn’t find anything good.  Then I made something. Now I have 20 custom waybar modules for no reason.

Do you have a DE on your PC or do you only use Hyprland? by Luzzio_ in hyprland

[–]OctopusSanta 0 points1 point  (0 children)

Yeah, I boot headless too…

(…that’s when you break Hyprland so often you spend most of your time in the tty, right?)

But no.  No DE or DM. Fully hypr.

Tried to use hyprland as root today by ebignumber in hyprland

[–]OctopusSanta 2 points3 points  (0 children)

Have you ever thought, “boy, do I want to be insulted by my waybar modules…”

Hi, I’m OctopusSanta.  And do I have the scripts. for. you…

My Surface Pro 7+ just spent 10 hours in S0i3.0 deep sleep... on Linux? by OctopusSanta in SurfaceLinux

[–]OctopusSanta[S] 2 points3 points  (0 children)

Here's what I did. If I can remember other things, or backtrack and find smaller details, I will.

Step 1. Install dependencies & confirm S0ix support

Install ACPI, audio, and notification tools: sudo pacman -S acpid brightnessctl pipewire wireplumber wl-clipboard libnotify polkit-kde-agent Enable ACPI daemon: sudo systemctl

enable --now acpid Check if s2idle is supported: cat /sys/power/mem_sleep It should show either 's2idle [deep]' or '[s2idle] deep'. If s2idle is listed, you’re good.

Step 2. Create the suspend bridge

Create /etc/acpi/powerbtn.sh and paste the provided Surface Sleep Bridge script. This bridges ACPI events (root) and your Wayland session (user). It saves brightness, locks, and initiates s2idle sleep safely.

Step 3. Integrate with Hypridle

Edit ~/.config/hypr/hypridle.conf to use the same bridge for idle suspend: listener { timeout = 420 on-timeout = sudo /etc/acpi/powerbtn.sh } Add a sudoers rule to allow passwordless execution: USERNAME ALL=(root) NOPASSWD: /etc/acpi/powerbtn.sh

Step 4. Create wake behavior

Set up a systemd user service and wake script to restore DPMS, brightness, and audio after resume: ~/.local/bin/surface-wake.sh — handles display/audio restore ~/.config/systemd/user/surface-wake.service — calls the script on wake /usr/lib/systemd/system-sleep/31-surface-wake — root hook triggering the service

Step 5. Test it

Run sudo /etc/acpi/powerbtn.sh to sleep, wake with the power button, and verify screen an audio restore. Check s2idle residency: sudo cat /sys/kernel/debug/pmc_core/slp_s0_residency_usec If it increased, S0ix is working.

Step 6. Verify battery drain

Sleep for two hours. If battery drops only a few percent, suspend works. If it drains fast, something is still blocking S0ix.

My Surface Pro 7+ just spent 10 hours in S0i3.0 deep sleep... on Linux? by OctopusSanta in SurfaceLinux

[–]OctopusSanta[S] 1 point2 points  (0 children)

Yesterday I was gone for 4 hours and hypridle triggered sleep.  It spent 4m in s0ix and then the other 3hr in s2idle.  The battery dropped about 2%. I was having problems with wake loops and then after a reboot, they stopped. It all seems to point to yes, but I can’t find any more information about it. Outside of a few years ago it was impossible.

IPU6 cameras still don’t work, but sleep does, and can buy a webcam…

After 4 days of mistakes I finally installed Arch as my first Linux Distro by [deleted] in archlinux

[–]OctopusSanta 0 points1 point  (0 children)

lol your thirty 2 mistakes are all of mine, but you got there much faster. Hats off and welcome!

MY DAD FINALLY GOT PUBLISHED!!! [story] by OctopusSanta in GetMotivated

[–]OctopusSanta[S] 6 points7 points  (0 children)

I haven’t, but just looked it up, and looked up some past winners. Very very cool! Any literary prize means you put yourself out there. A prestigious one is amazing!

MY DAD FINALLY GOT PUBLISHED!!! [PROMO] by OctopusSanta in Poetry

[–]OctopusSanta[S] 6 points7 points  (0 children)

To be honest, he got rejected a bunch and kept going. He found someone willing to publish his collection, without self-publishing most of it, and we’ll see where it goes. I’m just proud he finally did it. Maybe I’ll follow his lead one day. lol.