Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)FO
Posts
4
Comments
25
Joined
3 wk. ago
  • edit: based on the other commenter I think I might be missing a simpler declarative way to do this. The following will be kept for posterity though


    The main idea is:

    1. Use Window Titler to add a title. For me, if I want it on workspace 7, I title the window "7". (NOTE: The title will probably appear like [title], see below)
    2. Make a script that queries the window manager, and then dispatches a movement to the appropriate workspace. In Hyprland that might be hyprctl -j which gives
     bash
        
    ... json blahblah
    "title": "[7] What's a unique customization on your Linux machine you think no one else has? - tchncs — Mozilla Firefox"
    ... json blahblah
    
      

    but in Sway it might be something similar to using swaymsg. Only titled windows will have the bracket number thing so just regex that part

    1. Put it in autostart. Because Firefox takes a while to load on my junk machine I sleep for like 30 seconds to a minute before all the titles register.
  • pasting from my keybind config

     bash
        
    # snippet based on end4 dotfiles -- FIXME edge case where a
    #     preexisting tmp.png might be overwritten
    # English
    bind = Super+Shift,T,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l eng "tmp.png" - | wl-copy && rm "tmp.png"
    # Korean
    bind = Super+Shift,K,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l kor "tmp.png" - | wl-copy && rm "tmp.png"
    # Japanese
    bind = Super+Shift,J,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l jpn "tmp.png" - | wl-copy && rm "tmp.png"
    
      

    I just pipe grim and slurp (i.e. select part of the Wayland screen then copy) into a temporary png, tesseract it into the clipboard, then delete the temporary png.

    edit: clarified

  • Awesome...

    Care to share the video/code? I actually have something similar (Corsair Scimitar's macro customizer doesn't work on Linux

    As I was writing this I found a project that deals with Corsair MMO mice on Linux so now I will be going on an egg hunt.

  • I think it's closer to Level 2 Priest compared to Yahweh.

    But then how many abilities will end up crummy for balancing purposes? It's like "pick a sword, bow, or gun to defend yourself", but you don't have the strength for a European longbow and your pirate-era flintlock has enough spread to hit the neighbor's dog.

    What if teleportation is 2 inches, or flight is 3 feet? What if invisibility means light goes straight through your corneas and you end up blind? What if immortal just means only your brain will survive??

    Nevermind

  • Teleportation, invulnerability, siphon abilities.

    And then I teleport to everyone in the thread.

    Unless someone has teleportation, intellect, and siphon abilities. Then they might outwit me and find someone invulnerable before I do. But I might find someone intellectual before they do. And then it becomes a race.

    Comic adaptation when?

    That time I got 3 superpowers from a Lemmy post, but so did everyone else? Yuusha no Skill Siphon

  • 196 @lemmy.blahaj.zone

    rule

    Linux @lemmy.ml

    What's a unique customization on your Linux machine you think no one else has?

    Just wondering since I know a lot of people quietly use a screen-area-select -> tesseract OCR -> clipboard shortcut.

    • I separate subjects of interest into different Firefox windows, in different workspaces -- so I have an extension title them and a startup script parse text to ask the compositor to put them in the correct workspace (lets me restart more conveniently).
    • I have automatically-set different-orientation wallpapers for using my 2-in-1 depending on whether I use it in portrait or landscape (kind of just for looks, but I don't think if anyone else adds a wallpaper change to their screen rotation keybind).
    Linux @lemmy.ml

    Maybe Lemmy can forcibly invent a new term for "ricing". (Good faith pls)

    I'd learned about this last week, and this stuff is a bunch of Wikipedia searches so forgive me if I miss anything :]

    Similar to git master and whitelist/blacklist having addressed racist origins, I've just learned that "ricing" -- i.e. way-far-from-default, colorfully souped-up nix customizations -- came from a derogatory word for Asian "riced out" cars.

    ::: spoiler (click to enlarge spot where I came to learn about this)


    Example in the lemmy.ml/c/linux community.

    ![](https://lemmy.ml/api/v3/image_proxy?url=https%3A%2F%2Fdiscuss.tchncs.de%2Fpictrs%2F

    Showerthoughts @lemmy.world

    Goldman Sachs is such a nutty name. Imagine working at Compman Uters or Shrimpman Friedrice.

    Nominative predeterminism?

    Edit: word