Live data from Hacker News

Jeena's Hyprland Demo

tube.jeena.net

51–53 of 53 posts

Re: Jeena's Hyprland Demo

#51
post #37
post #13

I'm still waiting for killer demo for switching from x.org/i3 to wayland/whatever next tiling. At least there are options now in Wayland other than sway, but hyprland currently is not motivating enough when demos mostly focus on eyecandy. Transitions especially are excess. That being said I'm glad that Hyprland exists and shows people that there is power in minimalism. Fluxbox was my first love..

Check out https://github.com/outfoxxed/hy3 . I use it for i3 capabilities on top of Hypr. It's AWESOME.

Indeed!

Re: Jeena's Hyprland Demo

#52

Hyprland is great. I switched to it beginning of this year and haven't looked back. Initially I ran JaKoolIt's dotfiles which had a bit too many anime waifus, then some custom dotfiles I made myself, and finally Omarchy which really checks all the boxes for me. My single gripe I have with it is multi-monitor behavior is pretty bizarre, as workspaces are a per-monitor deal. My other complaint was with how it dealt wit…

Actually, typing this out led me to find a fix for the multiscreen workspace issue I was having. Basically the solution is to first assign the workspaces to monitors, and then bind the hotkeys to switch both workspaces at once, with the final binding being the one you land at. If someone wants to steal my homework, this is what I did # use `hyprctl monitors` to get your monitors' names, replace DP-3 and HDMI-A-1 as a…

I've been experimenting with this (it's in Babashka, which is for scripting Clojure, but you can do it with just bash, if your bash-fu is stronger than mine :D ):

    #!/bin/env bb
    
    (ns switch
      (:require [clojure.java.shell :as sh]
                [babashka.process :refer [pipeline pb shell process]]
                [clojure.string :as str]))
    
    (def workspace-ids
      (-> (pipeline (pb "hyprctl workspaces")
                    (pb "grep 'workspace ID'")
                    (pb "awk '{print $3}'"))
          last
          :out
          slurp
          (str/split #"\n")
          (->> (reduce (fn[acc e]
                         (try (let [ee (Integer/parseInt e)]
                                (conj acc ee))
                              (catch Exception e acc))) [])
               (filter #(and (pos? %)
                             (not= 10 %))))))
    
    
    
    (doseq [w workspace-ids]
      (-> (process (str "hyprctl dispatch moveworkspacetomonitor " w " 1"))
          deref
          :exit
          println))
    
    (process "hyprctl dispatch workspace 8")

It basically just moves all workspaces with positive IDs (so not the special workspace) to the external monitor, which seems to have a consistent ID of 1.

Re: Jeena's Hyprland Demo

#53

Hyprland has become pretty popular, maybe in part due to DHH promoting it a bit. But in my opinion, Niri is where it's at. If you're into this sort of thing and haven't tried Niri, I'd highly recommend it. The scrolling approach to window management is incredibly nice for my workflow.

> maybe in part due to DHH promoting it a bit

Try PewDiePie. around 6.7M people now know something like Linux and Hyprland exists, and that in 2025 it might even work better than MacOS or Windows and whatever desktop environments on Linux came before.

https://www.youtube.com/watch?v=pVI_smLgTY0

Post reply on HN