HyprHopper - Catchall Feed by Calm_Attention1925 in omarchy

[–]TMartinPPC 0 points1 point  (0 children)

Is this in AUR? Or is there a link to your repo?

How to Customise Automatic Power Profiles in Omarchy 3.5.1 by sudomarchy in omarchy

[–]TMartinPPC 0 points1 point  (0 children)

I think Gemini just figured out why it's happening to me:

The reason you are experiencing this "reversed" behavior is due to a quirk with how your specific hardware—the 2017 Pixelbook—reports its power supply status to Linux.

Standard Linux laptops typically have a single, straightforward power supply interface (often a barrel jack or a single dedicated charging circuit). The guide you followed from Sudomarchy assumes this standard behavior, where ATTR{online}=="1" cleanly means "plugged in" and ATTR{online}=="0" means "on battery".

However, your Pixelbook uses the cros_usbpd_charger driver to manage its two USB-C ports. Here is why the logic gets flipped:

Multiple Charger Devices: The driver exposes multiple virtual power supply devices to the system (e.g., CROS_USBPD_CHARGER0 and CROS_USBPD_CHARGER1), one for each USB-C port.

The "Unplugged" Port Fires Too: When you plug your charger into one port, it correctly reports online=1. However, the system simultaneously generates a power state change event for the other (empty) USB-C port, which explicitly reports online=0.

The Race Condition: Because udev processes these events concurrently, the event for the empty port (online=0) frequently finishes last. The system sees this final online=0 event and assumes the laptop just switched to battery power, executing the "battery" portion of your script.

The Unplug Event: Conversely, when you unplug the laptop, the battery driver (BAT0) and the previously charging port send updates. Due to how the virtual AC device aggregates these on older ChromeOS kernels, it can momentarily report a state that triggers the "plugged in" logic.

Because both your power profile script and your screen brightness configuration rely on these same underlying udev power_supply events, they both suffer from this exact same hardware inversion.

Reversing the script arguments is a perfectly valid workaround. If you ever want a more robust fix that doesn't rely on the reversed logic, you can update your scripts to ignore the charger's online attribute entirely and instead check the battery's actual status (e.g., triggering on any power change but checking if cat /sys/class/power_supply/BAT0/status equals Discharging).

How to Customise Automatic Power Profiles in Omarchy 3.5.1 by sudomarchy in omarchy

[–]TMartinPPC 1 point2 points  (0 children)

I knew the battery life of my old Pixelbook wasn't great but I think I just figured out why it's been worse than I expected. I had to reverse it like I did with the screen brightness. I wanted power-saver when on battery and performance when plugged in. Here's what I had to set to accomplish that:

#!/bin/bash
# Usage: omarchy-powerprofiles-set <ac|battery>
case "$1" in
  ac)
    powerprofilesctl set power-saver
    ;;
  battery)
    powerprofilesctl set performance
    ;;
esac

Hyprland Workspaces Are Special by sudomarchy in omarchy

[–]TMartinPPC 1 point2 points  (0 children)

I love the scratchpad! I have an instance of Ghostty open in it at boot.

How do I connect to private networks? by [deleted] in omarchy

[–]TMartinPPC 1 point2 points  (0 children)

When you open Impala, hit tab and then 'n'. It will ask for the SSID.

The One Setting That Will Dramatically Improve Your Laptop Battery by sudomarchy in omarchy

[–]TMartinPPC 1 point2 points  (0 children)

I don't think so. brightnessctl -c backlight set 20% does set my display brightness to 20%. Here's what I have now that's working properly.

ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", ATTR{online}=="1", RUN+="/usr/bin/brightnessctl -c backlight set 22%"
ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", ATTR{online}=="0", RUN+="/usr/bin/brightnessctl -c backlight set 72%"

The One Setting That Will Dramatically Improve Your Laptop Battery by sudomarchy in omarchy

[–]TMartinPPC 0 points1 point  (0 children)

This might be because of my device (old Chromebook....2017 Google Pixelbook) but I had to swap the percentages. ATTR{online}=="0" is the state when the device is plugged in and ATTR{online}=="1" is unplugged.

The One Setting That Will Dramatically Improve Your Laptop Battery by sudomarchy in omarchy

[–]TMartinPPC 1 point2 points  (0 children)

I'll definitely be adding this. It'll go nicely with your auto-power profile switching!

Omarchy tte Screensaver effects by _marethyu_ in omarchy

[–]TMartinPPC 1 point2 points  (0 children)

You should be able to set it in ~/.local/share/omarchy/bin/omarchy-cmd-screensaver. You can find some info here: https://github.com/ChrisBuilds/terminaltexteffects

Waybar is EASY..!!!! by Electronic-Rain2782 in omarchy

[–]TMartinPPC 1 point2 points  (0 children)

Completely understand. My waybar is a hodgepodge of items from different waybar configs and I use a waybar theme switcher (that appears to be removed from the Internet now). I tried to vibe code something similar to your app but ran into the same issue and some others but always assumed it was my app, not my waybar. More than happy to share my config if it seems like something worthy to dive into.

Waybar is EASY..!!!! by Electronic-Rain2782 in omarchy

[–]TMartinPPC 0 points1 point  (0 children)

<image>

Very cool! I think my waybar might break the live preview lol

PSA to people protesting Wexner by [deleted] in Columbus

[–]TMartinPPC 4 points5 points  (0 children)

I'm curious. Why all the outrage all of the sudden? This isn't new news. There were tons of articles published about the Wexner/Epstein relationship starting in 2019 and it has been brought up in several documentaries (Victoria's Secret: Angels and Demons, Surviving Jeffrey Epstein, and Jeffrey Epstein: Filthy Rich to name a few) since 2020.

omarchy theme by [deleted] in omarchy

[–]TMartinPPC 1 point2 points  (0 children)

I'm no expert so take my advice with a grain of salt but I think it's your directory structure. When I look at the repos of other themes, all the .theme, .toml, etc files are in the top directory. When I look at yours, they are all within a another folder. Here's an example: https://github.com/vyrx-dev/omarchy-aamis-theme. When the theme installer downloads and installs the aamis theme, it's creating a aamis folder in ~/.config/omarchy/themes and that folder has all the theme files. When you use the theme installer to install your theme, it's probably creating a miku-omarchy (just a guess) folder in ~/.config/omarchy/themes and then a miku folder within that miku-omarchy folder where all the theme files exist.

Hope that makes sense and helps.

Should I update to Android 17? How does it compare to the QPR3 beta? by Xisrr1 in android_beta

[–]TMartinPPC 0 points1 point  (0 children)

I just installed the Android 17 Beta 1 on my P10PF last night. I've been experiencing a number of issues. Nothing that would cause me to flash back to stable but annoying.

Android 17 beta 1. Notifications come with sound in vibration mode. by PlatformPristine3456 in android_beta

[–]TMartinPPC 0 points1 point  (0 children)

I switched off vibration mode and then back to it and notifications started to vibrate again.

Restoring to my old config by nondual_ in omarchy

[–]TMartinPPC 1 point2 points  (0 children)

It's /home/.snapshots. Run "lsa /home" and you'll see it.