callyral [he/they]

favorite bands · Lemon Demon; Tally Hall.

favorite artists · cavetown; Neil Cicierega; Bo Burnham; Jack Stauber; Will Wood; Toby Fox.

𝙸’𝚖 𝚑𝚊𝚕𝚏 𝚑𝚞𝚖𝚊𝚗 𝚊𝚗𝚍 𝚑𝚊𝚕𝚏 𝚖𝚊𝚌𝚑𝚒𝚗𝚎

mastodon · @callyral@furry.engineer

  • 0 Posts
  • 159 Comments
Joined 1 year ago
cake
Cake day: September 14th, 2023

help-circle




  • wayland.windowManager.sway.config.keybindings = let
        # ...
        screenshot = with pkgs; writeShellScriptBin "screenshot.sh" ''
              DATE=$(date +"%Y%m%d%H%M%S")
              if [ "$1" = "full" ]; then
                ${grim}/bin/grim ~/Pictures/shot_$DATE.png
                ${libnotify}/bin/notify-send "saved full screenshot to shot_$DATE.png"
              elif [ "$1" = "full-copy" ]; then
                ${grim}/bin/grim - | ${wl-clipboard}/bin/wl-copy -t image/png
                ${libnotify}/bin/notify-send "copied full screenshot"
              elif [ "$1" = "sel" ]; then
                ${grim}/bin/grim -g "$(${slurp}/bin/slurp)" ~/Pictures/sel_$(date +"%Y%m%d%H%M%S").png
                ${libnotify}/bin/notify-send "saved selection to sel_$DATE.png"
              elif [ "$1" = "sel-copy" ]; then
                ${grim}/bin/grim -g "$(${slurp}/bin/slurp)" - | ${wl-clipboard}/bin/wl-copy -t image/png
                ${libnotify}/bin/notify-send "copied screenshot"
              else
                printf "Invalid argument: '$1'\n"
              fi
              '';
      in lib.mkOptionDefault { # ...
    

    This is in my Home Manager configuration. I don’t think this is that bad, it’s just kinda messy. If you can’t tell, it’s a script for taking screenshots, embedded in my configuration.




  • If you want a challenge that may or may not be worth it, try configuring NixOS. And I mean really get into it, try to configure everything using Nix. It’s very time consuming but not boring, each configuration varies person to person (i.e the way you organize it) so it can be quite fun if you have the time.

    Also nixpkgs (what Nix and NixOS use) has like, all the packages



  • Windows 10.

    I wanted customization. Windows provided customization, sure, but like in the worst way possible. Want to change the system colors or what buttons look like? Download this third party theme and apply it with bloated tools that are probably malware in disguise!

    Meanwhile on Linux (NixOS), I can just change a few lines in my dotfiles and it works. Sometimes it’s inconvenient but I’m not really looking for convenience.








  • Here’s my distrohopping journey (including non-Linux OS)

    • Windows 7 →

    • Windows 10 →

    Mid 2021, I tried Fedora Linux in a VM and was unable to install it, but I liked it regardless.

    So, a while later I decided to try this “Linux” thing on my computer.

    • Linux Mint (late 2021) →

    • Arco Linux (arch felt too intimidating) →

    • Debian (stability = good?) →

    • Debian Sid (stability = boring) →

    • Artix Linux OpenRC (omg i hate systemd so much!1!!) →

    • Void Linux →

    • Artix Linux runit (it didn’t work) →

    • Arch Linux (how do i use systemctl wtf) →

    • Void Linux again (ah, ln -s /etc/sv/something /run/service/)→

    • NixOS unstable (since January 2024)

    Honestly, I’m just glad I found something I liked, as NixOS is perfect for tinkering.

    During all that distrohopping, I “DE-hopped” even more. Currently I run SwayFX, but I’ve used Cinnamon, XFCE, Plasma, GNOME, AwesomeWM, i3, bspwm, dwm, swaywm and Hyprland.

    edit 1: add Artix Linux runit

    edit 2: remove NixOS stable from the list