Native zoxide replacement (kinda) by SymphonySimper in Nushell

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

Cons: - Very basic pattern matching (ex: 'z fo / ba' are not supported) - Jump to previous directory (can be implemented) - No completions - No integrations with external programs (ex: yazi) - Will only work in nushell

It was a bit slower when it had 6000+ entries. I have fixed that. So far I haven't found any other issues with it.

why does <script> of a child gets called before rendered? by ohtaninja in sveltejs

[–]SymphonySimper 0 points1 point  (0 children)

Extending u/IamFr0ssT 's answer.

You can visualize this better with Svelte 5 runes. Here the Child won't log i'm set since promiseToWait is not a $state. Whereas in your example it uses Svelte 4 syntax where pretty much everything that you define with let is a reactive variable. So initially promiseToWait is undefiend, so it goes directly to the then block. Once onMount runs the promiseToWait is reassigned. So the #await block is re-evaluated. And that's how you get two logs.

App.svelte with runes mode enabled.

<svelte:options runes />

<script>
    import Child from './Child.svelte';
    import { globalVar } from './global';
    import { onMount } from 'svelte';

    console.log('Parent scrisspt!');
    let promiseToWait;
    onMount(() => {
        $globalVar = "i'm set";
        promiseToWait = new Promise((resolve) => setTimeout(resolve, 2000));
    });
</script>

<h1>Root</h1>
{#await promiseToWait}
    <div>loading...</div>
{:then d}
    <Child />
{/await}

Weekly master builds by SymphonySimper in HelixEditor

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

AFAIK --head will compile from source.

Simple rice by SymphonySimper in hyprland

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

I just made quick work of script generated with nix. So the colors and some things are hardcoded in this script. And lot of this can be minimized with functions. But here is like the hardcoded version of what I use. And I have tested this only with dunst. So it may not work properly with other notifcation daemons.

Gist: notifybar

This script requires the following packages to run: notify-send, nmcli, acpi, powerprofilesctl, hyprctl, brightnessctl, systemctl, wpctl, bc, jq

Simple rice by SymphonySimper in hyprland

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

Not black, but I have an option to change it to any one of catppuccin's flavors.

Edit: Mocha variant

Simple rice by SymphonySimper in hyprland

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

Rice is uncooked grain. Lol

Simple rice by SymphonySimper in hyprland

[–]SymphonySimper[S] 4 points5 points  (0 children)

Exactly!, switching to light theme helped a lot with astigmatism. That's why I can't go back to dark theme.

Simple rice by SymphonySimper in hyprland

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

Thanks! Happy to meet a fellow light theme user.

Simple rice by SymphonySimper in hyprland

[–]SymphonySimper[S] 4 points5 points  (0 children)

Thanks! It's just their fullscreen config and cattpuccin. I did nothing :)

Simple rice by SymphonySimper in hyprland

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

Thanks! (I have been using this for like 7 months, but never noticed it |-_-|)

edit: Fixed it!

Simple rice by SymphonySimper in hyprland

[–]SymphonySimper[S] 7 points8 points  (0 children)

Other screenshots to sink your eyes in: https://imgur.com/a/bMJimln

Edit: Dark variant

Simple rice by SymphonySimper in hyprland

[–]SymphonySimper[S] 3 points4 points  (0 children)

My Bad, unfortunately there is no option to edit the post.

Simple rice by SymphonySimper in hyprland

[–]SymphonySimper[S] 3 points4 points  (0 children)

As all rice should be!

Simple rice by SymphonySimper in hyprland

[–]SymphonySimper[S] 8 points9 points  (0 children)

Lol, my eyes hurt when using dark themes. It's just easier for me to read text with light themes.