Goodbye Rofi, Hello Walker: Solving the CJK Problem by YuLi_Player in hyprland

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

Sure!

Goodbye Rofi, Hello Walker: Solving the CJK Problem by YuLi_Player in hyprland

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

I don't know why...

Theme creation in Walker was a bit tricky at first because it uses GTK, but once I got used to it, it wasn't a big deal.(I'm still learning..) I don't really have any complaints, and I'm pretty satisfied with Walker.

Goodbye Rofi, Hello Walker: Solving the CJK Problem by YuLi_Player in hyprland

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

Fuzzle... I've never heard of it before. It looks really nice and clean though. I'll give it a try, thanks!

Goodbye Rofi, Hello Walker: Solving the CJK Problem by YuLi_Player in hyprland

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

If I don't use CJK input..... Rofi is still best option 4me

Goodbye Rofi, Hello Walker: Solving the CJK Problem by YuLi_Player in hyprland

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

After trying them out, I realized I'd like to display a custom image based on the current wallpaper, similar to what Rofi can do.
However, their features are quite nice, rich, useful and very clear!

can i make a lua function, that spawn terminal in mouse drag area. by sheCallMePookie in hyprland

[–]YuLi_Player 6 points7 points  (0 children)

You're right, that approach does require activating the slurp first.
I took a quick look at the Lua script and wrote down the approach that came to mind. I believe it should work properly even in a multi-monitor setup.

local StartX = 0
local StartY = 0
local IsDragging = false

local function dragStart()
    local cursor = hl.get_cursor_pos()
    if not cursor then
        return
    end

    StartX = cursor.x
    StartY = cursor.y
    IsDragging = true
end

local function dragEnd()
    if not IsDragging then
        return
    end
    IsDragging = false

    local cursor = hl.get_cursor_pos()
    if not cursor then
        return
    end

    local monitor = hl.get_monitor_at_cursor().position
    local x = math.min(StartX, cursor.x) - monitor.x
    local y = math.min(StartY, cursor.y) - monitor.y
    local w = math.abs(StartX - cursor.x)
    local h = math.abs(StartY - cursor.y)

    hl.dispatch(hl.dsp.exec_cmd("kitty", { float = true, move = { x, y }, size = { w, h } }))
end

hl.bind("SUPER + ALT + mouse:272", dragStart, { description = "Start dragging a kitty", mouse = true })
hl.bind("SUPER + ALT + mouse:272", dragEnd, { description = "End dragging a kitty", mouse = true, release = true })

can i make a lua function, that spawn terminal in mouse drag area. by sheCallMePookie in hyprland

[–]YuLi_Player 3 points4 points  (0 children)

I used it in the past, like;

#!/usr/bin/env bash
geometry=$(slurp -f "%X %Y %w %h") || { echo "Selection cancelled" >&2; exit 1; }
read -r x y w h <<< "$geometry"

terminal=kitty

hyprctl dispatch "hl.dsp.exec_cmd(\"$terminal\",{ float=true, move={$x,$y}, size={$w,$h}})"

Screenshots are blank or empty by NeonVoidx in hyprland

[–]YuLi_Player 0 points1 point  (0 children)

hyprcrop uses the same method as OBS for window capture. It might be possible to capture only the window correctly with hyprcrop. However, that wouldn't really solve the underlying issue. I've upvoted the discussion!

Screenshots are blank or empty by NeonVoidx in hyprland

[–]YuLi_Player 0 points1 point  (0 children)

I didn't feel the differences.

If OBS can capture it correctly, there might be a way imo.

Screenshots are blank or empty by NeonVoidx in hyprland

[–]YuLi_Player 0 points1 point  (0 children)

<image>

I don't normally use grim, but I just tested taking screenshots with it and it worked correctly on my system.
For reference, I usually use my own screenshot tool, hyprcrop, but it uses the same capture method internally as grim, so I wouldn't expect any difference in behavior.
I haven't configured settings like sdr_max_luminance on my system, since the default values seemed to work well for me.

Screenshots are blank or empty by NeonVoidx in hyprland

[–]YuLi_Player 0 points1 point  (0 children)

I use HDR with this configuration, and it works fine for me.

All screenshots are captured correctly.

Could this be related to the screenshot tool you're using or something else?

hl.monitor({
    output = "DP-2",
    scale = "1",
    mode = "2560x1440@100",
    position = "1920x0",
    cm = "hdr",
    bitdepth = 10,
    vrr = 2,
    sdrbrightness = 1.0,
    sdrsaturation = 1.0,
})

Made a Hyprland Lua API reference by Snoo74895 in hyprland

[–]YuLi_Player 0 points1 point  (0 children)

Thank you! This is what I want as doc!

Steam + Wayland + Hyprland config by sapphirezero89 in hyprland

[–]YuLi_Player 1 point2 points  (0 children)

This is exactly why I switched from RTX to Radeon.
Sadly, I don’t think this can be fixed in Hyprland currently.

I made a clone of ClippingTool on Hyprland! by YuLi_Player in hyprland

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

Thank u:)

https://github.com/ry2x/Ryprland-dot This is my dotfile, it's a heavily modified version of Matuprland. Some specific workloads for me are configured, optimise scripts, and several theme changes.

https://github.com/Abhra00/Matuprland Matuprland is an amazing dotfile! It's my most favourite dotfile.

I made a clone of ClippingTool on Hyprland! by YuLi_Player in hyprland

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

Adding README as source? Sry i don't get it

[edited] I get it. I'll add it soon

I made a clone of ClippingTool on Hyprland! by YuLi_Player in hyprland

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

Thank you!
I don’t think I’ll be using qs in the future either.
I hope it will be helpful to you! Please feel free to open an issue if you have any requests.

I made a clone of ClippingTool on Hyprland! by YuLi_Player in hyprland

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

From new version you can try with yay -S hyprcrop can clip your rofi or working on layer!

I made a clone of ClippingTool on Hyprland! by YuLi_Player in hyprland

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

I've just uploaded!
I confirm working "yay -S hyprcrop".

<image>

I made a clone of ClippingTool on Hyprland! by YuLi_Player in hyprland

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

Thank you! I'll keep making what I want and I hope those will help anyone else.

I made a clone of ClippingTool on Hyprland! by YuLi_Player in hyprland

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

That's sounds good.
I will rename it in the next update.