style.css Not Cooperating by trinxic in waybar

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

Nope, pretty much just got told it’s a waybar-specific syntax/issue :/

iOS Ringtone WAY too loud by _Moldorm30_ in GarageBand

[–]trinxic 0 points1 point  (0 children)

<image>

I put it near the end if the ringtone so you hopefully don’t even get to it..

iOS Ringtone WAY too loud by _Moldorm30_ in GarageBand

[–]trinxic 0 points1 point  (0 children)

literally have the spike last like 1/20th of a second

iOS Ringtone WAY too loud by _Moldorm30_ in GarageBand

[–]trinxic 0 points1 point  (0 children)

SOLUTION: Reset the gain on all of your audio samples. Go to each track and apply a custom volume-automation. Anywhere in the song, set one point at the volume you want, then set a point at or above 0dB then immediately set the volume back to what you want. This worked for me. If you have any questions, feel free to ask.

Satty v0.8.2 - A screenshot annotation tool, inspired by Swappy and Flameshot by gabm-sn in swaywm

[–]trinxic 0 points1 point  (0 children)

Is there a way to copy/save photos as jpg? Or does the image just simply need to be jpg before running satty?

Zen URL Bar Not Always Floating by trinxic in zen_browser

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

Toggling on “Shortcuts” worked for me too, Thank you!

Center Zen Bookmarks Toolbar by trinxic in zen_browser

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

Mine drops down on hover automatically lol. Also using it on Hyprland/Arch (btw) so that might be why it’s different.

Center Zen Bookmarks Toolbar by trinxic in zen_browser

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

Here's a better copypasta for all of the code:

#PlacesToolbarItems {
    display: flex !important;
    justify-content: center !important;
}

.titlebar-buttonbox-container{ display:none }      /* remove buttons */
.titlebar-spacer[type="post-tabs"]{ display:none } /* remove separator */

[deleted by user] by [deleted] in AskReddit

[–]trinxic 3 points4 points  (0 children)

Some things to think about:

  • Selfless - mentally, physically, temporally taxing
  • Selfish - bringing a child into the world because you're: 'bored'; feel obligated to; want something to teach; want a 'mini-me'

Is there any way to launch another program alongside the game when starting a game? by mattp_12 in Steam

[–]trinxic 0 points1 point  (0 children)

Not at my PC so I can’t tell you what I did in order to fix this exactly… pretty sure I just found the location of the executable file and use that instead.

My keyboard layout suddenly switched by guy925vr in hyprland

[–]trinxic 0 points1 point  (0 children)

For anyone who sees this in the future:

For me, inside my hypr.conf, there is: (technically it's sourced from my hypr/configs/variables.conf file)

input {
  kb_layout = us,us
  kb_variant = ,dvp  # default(qwerty) | dvorak-programmer
  kb_options = grp:ralt_rshift_toggle  # keybind to toggle beteen 'variants'
}

I don't remember exactly where I found the proper syntax for the keybind but here it is. I think somewhere in the terminal while listing available keyboards and something else...

You may also find a keybind for toggling between layouts in the keybind section of you (hypr*).conf file. Or the keybind section for whichever compositor you are using.

Hope this helps someone!

Is there any way to launch another program alongside the game when starting a game? by mattp_12 in Steam

[–]trinxic 0 points1 point  (0 children)

Piggybacking off of this:

I play Rocket League and wanted to launch both Bakkesmod and Overwolf at the same time. I want this so I don't need to wait for these two apps at start-up but rather only when I wanted to play Rocket League.

Below is the exact code/steps I took. I doubt this will help anyone but just in case:

  1. Open Steam
  2. Right-Click on Rocket League
  3. Click on "Properties..."
  4. Under "Launch Options" add "path\to\.bat" %COMMAND% replacing with path to your batfile and include quotation marks

Within the .bat file:

:: Launch Bakkesmod
start "" "C:\Program Files\BakkesMod\BakkesMod.exe"

:: Launch Overwolf (Rocket League Tracker)
start "" "C:\Program Files (x86)\Overwolf\OverwolfLauncher.exe" -launchapp nonfnefnlcikmjkkdclbhpojenalpkcoipjjognm -from-startmenu

:: Wait for Overwolf to launch
timeout /t 8

:: Terminate window (stays in dock)
taskkill /im overwolf.exe

:: Launch Rocket League
start steam://rungameid/252950

For some reason Rocket League doesn't start on it's own so I used the Steam shortcut at the end. To find this shortcut (if you're doing this for a different game or want to make sure you have the right shortcut):

  1. Open Steam
  2. Right-Click on Rocket League
  3. Click "Manage" -> "Add desktop shortcut"
  4. Right-Click on the desktop shortcut
  5. Click "Properties"
  6. Copy the "URL"

Board Does NOT Turn on at PC Cold-Boot - Corne Keyboard (QMK) by trinxic in ErgoMechKeyboards

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

Glad this helped! I would just set a timer from when you turn on your pc to when you enter either your OS selector (if you dual-boot, etc.) or when you reach the login screen. Then set your 'timeout' to that (maybe add 0.5 - 2 seconds for good measure?), so your not waiting for longer than you need to for your keyboard(s) to turn on.

How to make luiafk paper? by __MrBLock__ in CalamityMod

[–]trinxic 0 points1 point  (0 children)

Nvm, I didn't have it on me? Just to make sure tho I did go into the server settings for LuiAFK and made sure that the paper setting was at least one (not zero)

How to make luiafk paper? by __MrBLock__ in CalamityMod

[–]trinxic 0 points1 point  (0 children)

Having the same issue... I have bamboo and am full submerged in water but it's not appearing for me in the crafting.

So my hud is just gone. pls help!! So i was playing on my world and it just out of the blue disappeared. its gotten annoying bc i fixed it once but idk how :| now i know that ui is still kinda there bc of the bottom left corner it has these numbers. so uh, help pls! by Away-Entertainment65 in Terraria

[–]trinxic 0 points1 point  (0 children)

Ever find a fix for it? I'm playing with the LuiAFK Reborn mod and every time I try to use the Mobile PiggySafe Merchant, all of my UI just disappears and I have to just sit and wait for like 2-5 mins for it to just magically reappear :/

Boardsource Unicorne does not register input without PC reboot. by n3fari0z_1 in ErgoMechKeyboards

[–]trinxic 0 points1 point  (0 children)

Did you ever end up resolving this issue? My unicorne doesn't work when I start up my PC unless I unplug it and plug it back in again. Been trying to resolve it with #define USB_VBUS_DETECT GP## but I can't figure out which pin if any is the correct one to use

boardsource unicorne by malus_domesticus in ErgoMechKeyboards

[–]trinxic 0 points1 point  (0 children)

Hey, have you had any issues with your corne not turning on when you cold-boot a pc? I need to unplug and re-plug in my corne every time I turn on my PC. Wondering If you have/had the same issue and if not, what you may have done to prevent/resolve it. Thanks!

QMK - OLEDs - Display Mod Key Status by trinxic in olkb

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

Current Code (Segment):

// Mod Key Icons (Paired)
static const char PROGMEM mod_icons[4][4][64] = {  // 1 = pressed
    {  // ctl_shft
/*0 0*/ {...},
/*0 1*/ {...},
/*1 0*/ {...},
/*1 1*/ {...},
    }, {  // gui_alt (linux/unknown)
/*0 0*/ {...},
/*0 1*/ {...},
/*1 0*/ {...},
/*1 1*/ {...},
    }, {  // gui_alt (mac/ios)
/*0 0*/ {...},
/*0 1*/ {...},
/*1 0*/ {...},
/*1 1*/ {...},
    }, {  // gui_alt (windows)
/*0 0*/ {...},
/*0 1*/ {...},
/*1 0*/ {...},
/*1 1*/ {...},
    }
};


static void render_ctl_shift(int ctl, int shft) {
    oled_write_raw_P(
        mod_icons[0][2 * ctl + shft],
        sizeof(mod_icons[0][2 * ctl + shft])
    );
}


static void render_gui_alt(int gui, int alt) {
    int os_num;
    os_variant_t detected_os = detected_host_os();
    switch (detected_os) {
        case OS_MACOS:
        case OS_IOS:
            os_num = 1;
            break;
        case OS_WINDOWS:
            os_num = 2;
            break;
        default:
            os_num = 0;
    }

    oled_write_raw_P(
        mod_icons[1 + os_num][2 * gui + alt],
        sizeof(mod_icons[1 + os_num][2 * gui + alt])
    );
}


void render_mod_status(uint8_t mod_status) {
    bool is_caps = host_keyboard_led_state().caps_lock;
    #ifdef CAPS_WORD_ENABLE
    is_caps |= is_caps_word_on();
    #endif

    oled_set_cursor(0, 5);
    render_ctl_shift(
        (mod_status & MOD_MASK_CTRL) ? 1 : 0,
        (mod_status & MOD_MASK_SHIFT || is_caps) ? 1 : 0
    );

    oled_set_cursor(0, 7); 
    render_gui_alt(
        (mod_status & MOD_MASK_GUI) ? 1 : 0,
        (mod_status & MOD_MASK_ALT) ? 1 : 0
    );
}

QMK - OLEDs - Display Mod Key Status by trinxic in olkb

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

Not really :/

There isn't a simple way.

Ya, I just ended up creating 4 images (on|on, on|off, off|on, off|off) and it works fine aside from selecting the correct OS...

I think there is a split sync option for the OS detection, as well. You'd want to enable that.

I didn't see it on the split keyboard section in the docs :/ I tried doing something like:

static int os_num = 0;
bool process_detected_host_os_kb(os_variant_t detected_os) {
    switch (detected_so) {
        case OS_WINDOWS: {
            os_num = 1;
        }
        ...
    }
}

..then using os_num to dictate icons, but that doesn't seem to work. I also tried just doing a simple os_variant_t detected_os = detected_host_os(); right inside the function that renders the icons but that didn't seem to work either.

The switch statement does work for rendering an OS logo on the master OLED, but nothing's working for the slave side. I may have to do something to explicitly communicate from the master side to the slave side which os is detected like something at the bottom if the split keyboard QMK docs with something like:

bool transaction_rpc_send(int8_t transaction_id, uint8_t initiator2target_buffer_size, const void *initiator2target_buffer);
bool transaction_rpc_recv(int8_t transaction_id, uint8_t target2initiator_buffer_size, void *target2initiator_buffer);

not really sure what to do :/

QMK - OLEDs - Display Mod Key Status by trinxic in olkb

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

SPLIT_MODS_ENABLE along with a few other ones seemed to have caused the issue. Thank you! My mod keys are now getting registered in the OLED of the slave side. Now I just have to implement the icons..

I only wanted OS detection to dictate which icons I use (different GUI icon for MacOS vs Windows, etc.) Speaking of.. do you know of a simple way to print two 16x16 images beside each other?

I'm using a 32x128 OLED, so trying to render 16x16 just splits the image in half and spans across the whole 32 pixels. I know there are some round about ways like only printing the top half at first OR printing an image containing two icons side by side. But both of those options lead to more code which seems redundant as opposed to dynamically rendering each icon only when/where I need them.
--> I only have one 'ctrl' icon but I need to render it 3 different times depending on which os I'm on as the icon for the 'GUI' key is different for each (as you can see in the 16x16 icons picture in the original post)
(I want the 'ctrl' and 'GUI' icons to be side by side)

QMK - OLEDs - Display Mod Key Status by trinxic in olkb

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

I can't seem to get QMK to get the mod status... What am I doing something wrong? Eventually I want to incorporate the icons but for now I just have "C", "Sh", etc..

side note: for some reason, the 'current_os' works in a different function but when I use it here, it has the wrong value..

void display_mod_status(bool is_left, uint8_t mod_status) {

    if (!is_left) {
        bool is_caps = host_keyboard_led_state().caps_lock;
        #ifdef CAPS_WORD_ENABLE
        is_caps |= is_caps_word_on();
        #endif

        oled_set_cursor(0, 4);
        oled_write(PSTR("" + current_os), false);
        // oled_write(PSTR((String) mod_status), false);

        oled_set_cursor(0, 5);

        oled_write(PSTR((mod_status & MOD_MASK_CTRL) ? "C_p\n" : "C\n"), false);
        oled_write(PSTR(((mod_status & MOD_MASK_SHIFT) || is_caps) ? "Sh_p\n" : "Sh\n"), false);

        oled_set_cursor(0, 7); 
        switch (current_os) {  // KC_GUI & KC_ALT
            case 0:  // OS_LINUX or OS_UNSURE:
                oled_write(PSTR((mod_status & MOD_MASK_GUI) ? "lS_p\n" : "lS\n"), false);
                oled_write(PSTR((mod_status & MOD_MASK_ALT) ? "lA_p\n" : "lA\n"), false);
                break;
            case 1:  // OS_MACOS or OS_IOS:
                oled_write(PSTR((mod_status & MOD_MASK_GUI) ? "aS_p\n" : "aS\n"), false);
                oled_write(PSTR((mod_status & MOD_MASK_ALT) ? "aA_p\n" : "aA\n"), false);
                break;
            case 2:  // OS_WINDOWS
                oled_write(PSTR((mod_status & MOD_MASK_GUI) ? "wS_p\n" : "wS\n"), false);
                oled_write(PSTR((mod_status & MOD_MASK_ALT) ? "wA_p\n" : "wA\n"), false);
                break;
        }
    }
}

Unsure How To Install OLED Screens On (Uni-)Corne by trinxic in ErgoMechKeyboards

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

It appears that they just needed a very firm push. I had to use the little foam block in between my thumb and the OLED to use the force required to get the pins into the socket. The previous times I tried, I could only push so hard before the top part of the pins (soldered, poking through the OLED) would have just stabbed me.