r/hyprland • • 2h ago

RICE Hi Linux...

17 Upvotes

r/hyprland • • 3h ago

RICE my larperlend

2 Upvotes

r/hyprland • • 3h ago

QUESTION Which dots file should I use for arch and hyprland as a beginner.

Post image
0 Upvotes

Hey so for the past few months I was using ml4w hyprland but now it has started to show some glitches and errors I thought of switching to another dots like ends4 or hyde but I. Am not sure my current hyprland looksike this and I am not sure which to switch I have thought of switching to https://github.com/pctrade/end4-pC but I feel it's widgets look like expensive chromebook what should I do ?? Give you hyprland ss with its dotsfile so I can see and help me pick it out please.


r/hyprland • • 3h ago

EXT TOOLS hyprsnow

9 Upvotes

Shared hyprsnow last year and now... it's that time of the year again. I've reworked most of the physics and visuals. Enjoy!

https://github.com/spinualexandru/hyprsnow


r/hyprland • • 5h ago

SUPPORT Using and theming icons, cursors and GTK apps on Hyprland.

3 Upvotes

I' m a newbie on Hyprland, and I' ve heard that I can' t install GTK apps on Hyprland and theme them with something like gnome-tweak-tool. What would I have to do to configure GTK apps on Hyprland and also set cursor and icon theme? I have tried to install gnome-tweak-rool on Ultramarine Linux, but dnf installed the whole GNOME DE as a dependency. Now i' d like to start ricing Hyprland on Debian , but I don' t know how to do this.


r/hyprland • • 8h ago

RICE [oc] flow, a network monitor i've been building

Thumbnail gallery
7 Upvotes

r/hyprland • • 8h ago

PLUGINS & TOOLS the script what

2 Upvotes

idk maybe github orlike that


r/hyprland • • 16h ago

RICE First rice on Hyprland

53 Upvotes

Finally decided to try bare Arch, and I just switched my laptop's main OS to Arch with Hyprland. I took some ideas from other users' setups, but if u have more ideas or feedback, feel free to drop them!

Dotfiles (my repo): https://github.com/Espectro0/dotfiles


r/hyprland • • 16h ago

RICE New Life mentioned

11 Upvotes

Let me know what you guys think. Some of the features might look a little off in the video since I had claude go in and blur certain panels. Still working on it adding new features and I am looking for ideas for practical tools to implement.


r/hyprland • • 16h ago

DISCUSSION Hyprland Gaming Config Updates

17 Upvotes

Improving on my gaming config that I posted months ago here: https://www.reddit.com/r/hyprland/comments/1uxwh5a/lets_discuss_our_hyprland_specific_gaming_tweaks/

Would love to see what everyone else has going on

Gaming.lua

Summary: Tag most common game windows from common game classes. Apply window rules to them via tags i.e. game or tearing & has hooks like the tearing hook that sets specific config options when the game window opens & then resets them on close. A hook that sets do not disturb & sets CPU power profile to performance when the game window opens & reverts them back on close. Applies rules for overrides from overrides menu listed below.

-- Tagging game windows
hl.window_rule({
    name = "proton-game-tag",
    match = {
        xdg_tag = "proton-game",
    },
    tag = "+game",
})
hl.window_rule({
    name = "steam-apps-tag",
    match = {
        initial_class = "steam_app_.*",
    },
    tag = "+game",
})
hl.window_rule({
    name = "gamescope-tag",
    match = {
        class = "gamescope",
    },
    tag = "+game",
})
hl.window_rule({
    name = "minecraft-tag",
    match = {
        class = "Minecraft.*",
    },
    tag = "+game",
})

-- Shared rules for game-tagged windows
local gameRules = {
    border_size = 0,
    rounding = 0,
    decorate = false,
    force_rgbx = true,
    sync_fullscreen = true,
    no_anim = true,
    no_blur = true,
    no_dim = true,
    no_max_size = true,
    no_shadow = true,
    no_glow = true,
    no_wobble = true,
    persistent_size = true,
    opaque = true,
    fullscreen_state = "2 2",
}

-- Tearing = everything above + extras
local tearingExtras = {
    immediate = true,
}

local function applyGameRules(tag, extras)
    local rule = {
        name = tag .. "-games",
        match = { tag = tag, fullscreen = true },
    }

    for key, value in pairs(gameRules) do
        rule[key] = value
    end

    for key, value in pairs(extras or {}) do
        rule[key] = value
    end

    hl.window_rule(rule)

    hl.window_rule({
        name = tag .. "-game-popups",
        match = { tag = tag },
        content = "game",
        workspace = 3,
        center = true,
        idle_inhibit = "always",
    })
end

applyGameRules("game")
applyGameRules("tearing", tearingExtras)

------------------------------
---- GAME OVERRIDES MENU -----
------------------------------

local overridesFile = os.getenv("HOME") .. "/.config/hypr/game-overrides.tsv"

local function escapeRegex(s)
    return (s:gsub("[%^%$%(%)%.%[%]%*%+%?%-{}|\\]", "\\%0"))
end

local function loadOverrides()
    local f = io.open(overridesFile, "r")
    if not f then return end

    for line in f:lines() do
        local class, flags = line:match("^(.-)\t(.*)$")

        if class and class ~= "" then
            local match = { class = "^" .. escapeRegex(class) .. "$" }

            for flag in flags:gmatch("[^,]+") do
                if flag == "game" or flag == "tearing" then
                    hl.window_rule({
                        name  = class .. "-override-" .. flag,
                        match = match,
                        tag   = "+" .. flag,
                    })
                elseif flag == "no_vrr" then
                    hl.window_rule({
                        name   = class .. "-override-no_vrr",
                        match  = match,
                        no_vrr = true,
                    })
                end
            end
        end
    end

    f:close()
end

loadOverrides()

-- Override menu bind 
hl.bind(mainMod .. " + SHIFT + G", hl.dsp.exec_cmd("~/.local/bin/game-override-menu"))

------------------------------
---- GAME TAG / TRACKING -----
------------------------------

local GAME_TAGS    = { "game", "tearing" }
local TEARING_TAGS = { "tearing" }

local function hasAnyTag(win, wanted)
    if not win or not win.tags then return false end
    for _, tag in ipairs(win.tags) do
        for _, name in ipairs(wanted) do
            if tag == name or tag == name .. "*" then return true end
        end
    end
    return false
end

-- Calls setActive(true) when the first matching window appears and
-- setActive(false) when the last one closes. Also rebuilds after a reload.
local function trackTaggedWindows(tags, setActive)
    local tracked, active = {}, false

    local function update()
        local now = next(tracked) ~= nil
        if now ~= active then
            active = now
            setActive(now)
        end
    end

    hl.on("window.open", function(win)
        if hasAnyTag(win, tags) then
            tracked[win.address] = true
            update()
        end
    end)

    hl.on("window.close", function(win)
        if tracked[win.address] then
            tracked[win.address] = nil
            update()
        end
    end)

    for _, win in ipairs(hl.get_windows()) do
        if hasAnyTag(win, tags) then tracked[win.address] = true end
    end
    update()
end

----------------------------
---- GAME TEARING HOOK -----
----------------------------

local tearingEnabled = false
local stateFile = "/tmp/hypr-tearing-state"

local function stateFileExists()
    local file = io.open(stateFile, "r")
    if file then
        file:close()
        return true
    end
    return false
end

local function enableTearing()
    if tearingEnabled then return end

    local wasAlreadyEnabled = stateFileExists()
    
    -- Reflect your config values to change here 
    hl.config({
        general = { allow_tearing = true },
        misc    = { vrr = 0 },
        render  = { direct_scanout = 0 },
    })

    local f = io.open(stateFile, "w")
    if f then f:close() end

    if not wasAlreadyEnabled then
        hl.exec_cmd([[notify-send "Gaming Mode" "Tearing Enabled // VRR Disabled"]])
    end

    tearingEnabled = true
end

local function disableTearing()
    if not tearingEnabled then return end

    -- Reflect your default config values to change here 
    hl.config({
        general = { allow_tearing = false },
        misc    = { vrr = 3 },
        render  = { direct_scanout = 2 },
    })

    os.remove(stateFile)
    hl.exec_cmd([[notify-send "Gaming Mode" "Tearing Disabled // VRR Enabled"]])

    tearingEnabled = false
end

trackTaggedWindows(TEARING_TAGS, function(on)
    if on then enableTearing() else disableTearing() end
end)

-------------------------------------
---- GAME PERFORMANCE & DND HOOK ----
-------------------------------------

local gamePerfEnabled = false

local function setGamePerf(enabled)
    if enabled == gamePerfEnabled then return end
    gamePerfEnabled = enabled

    if enabled then
        hl.exec_cmd("powerprofilesctl set performance")
        hl.exec_cmd("noctalia msg notification-dnd-set on")
    else
        hl.exec_cmd("powerprofilesctl set balanced")
        hl.exec_cmd("noctalia msg notification-dnd-set off")
    end
end

trackTaggedWindows(GAME_TAGS, setGamePerf)

--------------------------------------
---- FLOATING FULLSCREEN CASE FIX ----
--------------------------------------

hl.on("window.fullscreen", function(w)
    if w == nil or not w.floating or w.fullscreen == 0 then return end
    if not hasAnyTag(w, GAME_TAGS) then return end
    hl.dispatch(hl.dsp.window.float({ window = w, action = "disable" }))
end)

Game Overrides Zenity Menu

TLDR: Grabs the focused window class & opens a zenity menu that can manually apply the tag tearing or game if it hasn't been from prior rules like in the case of native linux games which can't be automagically tagged by a common steam class & can apply override rules like no_vrr for example.

#!/usr/bin/env bash

class="$1"

if [ -z "$class" ]; then
    class=$(hyprctl activewindow | sed -n 's/^[[:space:]]*class: //p' | head -n1)
fi

if [ -z "$class" ]; then
    notify-send "Overrides" "No focused window class found"
    exit 1
fi

safe_class=$(printf '%s' "$class" | sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g')

file="$HOME/.config/hypr/game-overrides.tsv"
touch "$file"

flags=$(CLASS="$class" awk -F'\t' '$1==ENVIRON["CLASS"]{print $2}' "$file")

has() { [[ ",$flags," == *",$1,"* ]] && echo TRUE || echo FALSE; }

write_flags() {
    local tmp; tmp=$(mktemp "$file.XXXXXX")
    CLASS="$class" awk -F'\t' '$1!=ENVIRON["CLASS"]' "$file" > "$tmp"
    [ -n "$1" ] && printf '%s\t%s\n' "$class" "$1" >> "$tmp"
    mv "$tmp" "$file"
}

while true; do
    selected=$(zenity --list --checklist \
        --title="Overrides: $class" \
        --text="Tick what applies to: <b>$safe_class</b>\n\n<i>Changes won't apply until the game is restarted.</i>\n\n<i>Note: no_vrr is dropped automatically when tearing is selected, since tearing already disables VRR.</i>" \
        --column="" --column="key" --column="Option" \
        --hide-column=2 --print-column=2 --separator=',' \
        --width=360 --height=320 \
        "$(has game)"    game    "Manually tag: game" \
        "$(has tearing)" tearing "Manually tag: tearing" \
        "$(has no_vrr)"  no_vrr  "Window rule: no_vrr" \
        FALSE            clear   "Remove all overrides") || exit 0

    if [[ ",$selected," == *",game,"* && ",$selected," == *",tearing,"* && ",$selected," != *",clear,"* ]]; then
        zenity --error --width=320 \
            --text="Pick either game or tearing, not both. Tearing already includes the game behavior."
        flags="$selected"
        continue
    fi
    break
done

if [[ ",$selected," == *",tearing,"* ]]; then
    selected=$(printf ',%s,' "$selected" | sed 's/,no_vrr,/,/g; s/^,//; s/,$//')
fi

if [[ ",$selected," == *",clear,"* ]]; then
    write_flags ""
else
    write_flags "$selected"
fi

hyprctl reload

r/hyprland • • 16h ago

EXT TOOLS Arrange: drag-and-drop display arranger that writes Hyprland's new Lua config (0.56+)

1 Upvotes

Since Hyprland moved to Lua config, I couldn't find a GUI arranger that still worked for me. nwg-displays, wdisplays and hyprmon all write the old monitors.conf, which a Lua setup never loads, so my layouts kept disappearing on reload.

So I made Arrange, a small Qt 6 / C++ app:

  • Drag displays around. They snap edge to edge, with no overlaps and no gaps. Tiles are drawn at their real logical size, so a 1920x1080 panel at 1.25 shows as the 1536-wide box it actually is.
  • Per display: resolution/refresh, scale (only values Hyprland accepts for that mode), rotation, on/off.
  • Space applies live through hyprctl eval. If you don't hit Keep within 15 seconds, it reverts, so a bad mode can't strand you on a black screen.
  • Ctrl+S writes a marked hl.monitor({...}) block at the end of monitors.lua. The rest of your file isn't touched, and the old one gets backed up first.
  • Keyboard driven (? shows the shortcuts). arrange list --json and arrange lua work for scripts.

It was built for Omarchy but should work on any Hyprland 0.56+ setup using ~/.config/hypr/monitors.lua. You can point it elsewhere with ARRANGE_CONFIG=/path/to/file.lua arrange.

Install (Arch, x86_64):

sudo pacman -U https://github.com/DFanso/arrange/releases/download/v0.1.0/arrange-0.1.0-1-x86_64.pkg.tar.zst

Or build from source: https://github.com/DFanso/arrange

It's v0.1.0 and I've only tested it on a laptop plus one HDMI monitor, so I'd love reports from bigger setups: 3+ screens, portrait, fractional scales, ultrawides. MIT licensed, and issues/PRs are welcome.


r/hyprland • • 18h ago

QUESTION help

Post image
14 Upvotes

can anyone help me find this wallpaper i can't find it anywhere


r/hyprland • • 23h ago

MISC Came back to see this today

Post image
211 Upvotes

After years of watching prices, I finally splurge on some really nice monitors during Black Friday.

I got them installed last night!

Nervous about burn in, I see this when i return from being gone for quite some time…

Has never happened before. Story of my life haha

Luckily the monitors seem fine. Just hilarious the timing.


r/hyprland • • 1d ago

RICE Pentad: a complete desktop shell for Hyprland

34 Upvotes
Tired of overloaded desktops that give little back, so I built my own shell.

GitHub


r/hyprland • • 1d ago

EXT TOOLS Just wanted to share a little project I've been working on

Post image
27 Upvotes

I recently released my first little open-source project — Flick.

It's a screenshot and screen recording tool for selecting screen regions, taking screenshots, annotating them, and recording your screen. It's currently built specifically for Hyprland, but I'd like to make it available for other Linux desktop environments in the future.

This was also my first experiment with vibe coding using Claude Code. I was just curious to see how it works and wanted to share what I managed to build — or rather, what Claude managed to build. I just provided the ideas)

GitHub: https://github.com/aksond1/Flick


r/hyprland • • 1d ago

SUPPORT Fullscreen games not working on hyprland

0 Upvotes

Hey been using hyprland for a little now and its been great but when I try to play any fullscreen game like tf2 it always make it smaller and I cant click anything


r/hyprland • • 1d ago

RICE i'm use arch 202 day btw

Post image
16 Upvotes

r/hyprland • • 1d ago

PLUGINS & TOOLS hyprconf-gen: Added .lua Support to the Live Config Editor

1 Upvotes

Hey...

I finally got around to changing that—the browser-based editor now supports `.lua` output as well.

Since `.lua` support was just added, let me know if you run into any syntax quirks or missing options.

I'd love to hear your feedback or see your contributions on this project!

Source Code: https://github.com/ufuayk/hyprconf-gen Live Website: https://ufuayk.github.io/hyprconf-gen


r/hyprland • • 1d ago

PLUGINS & TOOLS Yuki - made it snow on my desktop in Rust and you can throw snowballs at your windows, yayyyy its snoww timeee

3 Upvotes

its december so i built yuki. snow drifts around your open windows, piles up along the top borders, slides when you drag them or when wind gusts hit, and lets you click-hold any pile to pack and chuck snowballs across your monitor.

works on Hyprland, KDE Plasma 6, X11, and macOS (i don't own a mac so i winged that part off docs, pls yell at me in issues if it breaks). windows maybe soon if i have time.

https://github.com/DeadZone-0/Yuki


r/hyprland • • 1d ago

RICE From bloated mac os to hyprland linux arch

178 Upvotes

im new to linux and ive been using it for a week now. The rice was inspired from someone in r/hyprland subreddit and damn its so beautiful and the person who made it (Some_Reception9198), hats to u man. I really cant believe ive been using mac os for 11 years and using linux literally made me face palm my self saying why on earth didnt know about linux. I am using dual boot since i cant get rid of mac os so i use both as a development platforms.


r/hyprland • • 1d ago

QUESTION is this rice good?

Post image
49 Upvotes

is this rice good?


r/hyprland • • 1d ago

QUESTION Do most people run hyprland on bare metal?

18 Upvotes

I’m a Linux dabbler and new to hyprland. Typically I use VMs with Windows as the base OS, but it looks like hyprland doesn’t play nice with VMs. So I’m curious how most of you run Arch-hyprland? Bare metal, dual boot, VMs, something else?


r/hyprland • • 2d ago

RICE what you think?

Thumbnail
gallery
87 Upvotes

dotfile - here

consider a star if you like it :)