SolDoesTech / HyprV4

452 stars 133 forks source link

Workspace indicator disappeared #59

Open joshwisehub opened 10 months ago

joshwisehub commented 10 months ago

I recently updated Hyprland and the issue occurred. Am currently on the latest version { "branch": "", "commit": "96d555e8e794627bfc561e294e148ab8a9961fcc", "dirty": true, "commit_message": "", "tag": "v0.29.1", "flags": [] }

jontstaz commented 10 months ago

When you say "Workspace Indicator" do you mean the "1", "2", "3", etc.. that was previously showing at the top of the screen to indicate what desktop/workspace you're on/how many are active? Because I'm facing the same exact issue. For the past week all of a sudden it disappeared and I can't seem to get it back no matter what I try. It's really annoying. The icons still display at the bottom but the workspace numbers have gone away. Not just for v4 but for all of them.

stove-jeebs commented 10 months ago

image

new hyprland update no longer supports wlr/workspaces

joshwisehub commented 9 months ago

yes i fixed it .By removing wlr/workspace and it now works perfectly fine

On Sun, Sep 10, 2023 at 4:53 AM Leo Ho @.***> wrote:

[image: image] https://user-images.githubusercontent.com/67490238/266809880-a762cbc0-481c-476f-ac3c-ea93b0db17f4.png

new hyprland update no longer supports wlr/workspaces

— Reply to this email directly, view it on GitHub https://github.com/SolDoesTech/HyprV4/issues/59#issuecomment-1712684000, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATS3LD4HXY5LB2A2FPJ6NFLXZUMTNANCNFSM6AAAAAA4QDZD3U . You are receiving this because you authored the thread.Message ID: @.***>

AtharvaT02 commented 8 months ago

Hello Josh, I just installed hyperv4 and am facing the same issue. can you tell me step by step what I should do. Im very new to linux

joshwisehub commented 8 months ago

the issue sis solved by changing waybar config files. here is the link https://github.com/SolDoesTech/HyprV4/pull/55/files.Available on the pull requests

On Tue, Oct 31, 2023 at 4:04 PM AtharvaT02 @.***> wrote:

Hello Josh, I just installed hyperv4 and am facing the same issue. can you tell me step by step what I should do. Im very new to linux

— Reply to this email directly, view it on GitHub https://github.com/SolDoesTech/HyprV4/issues/59#issuecomment-1787179331, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATS3LD6WDMNJTNL6YOXPVXLYCDZMVAVCNFSM6AAAAAA4QDZD3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGE3TSMZTGE . You are receiving this because you authored the thread.Message ID: @.***>

chdrsto commented 6 months ago

@joshwisehub , i was able to get the workspaces on the screen by simple replacing "wlr" with "hyprland" ... means, from wlr/workspaces in hyprland/workspaces

in /home/.config/HyprV/waybar/conf/v4-config.jsonc (as well as in v1, v2, v3)

the easiest way is to use sed ...like : sed -i 's/wlr/hyprland/g' v4-config.jsonc

My only issue at the moment is, that I see all 10 workspaces. This I need to figure out how to show only active ones

t4fita commented 4 months ago

@chdrsto Thanks for your answer it was the easiest one I found that solved my problem !

My only issue at the moment is, that I see all 10 workspaces. This I need to figure out how to show only active ones

As for this, the solution I found was just to reduce the number of workspaces. This is not really solving the problem as what you want is only to show the active ones, but it's a lot more pleasing to see only a few workspaces !

I believe you can achieve that by modifying the same file /home/.config/HyprV/waybar/conf/v4-config.jsonc (as well as in v1, v2, v3) and in persistent_workspaces, you can reduce the number of workspaces by just deleting these. So for 5 workspaces you should seeyou should see something like:

 "hyprland/workspaces": {
        "disable-scroll": true,
        "all-outputs": true,
        "on-click": "activate",
        "persistent_workspaces": {
            "1": [],
            "2": [],
            "3": [],
            "4": [],
            "5": []
        }
    },
hangocdinhnew commented 2 months ago

@t4fita Sorry for being super late, but persistentworkspaces is actually persistent now, so reducing the number of workspaces is not needed, you just remove the persistent, it's that simple.

EDIT: Something like this:

"hyprland/workspaces": {
        "disable-scroll": true,
        "all-outputs": true,
        "on-click": "activate",
        "workspaces": {
            "1": [],
            "2": [],
            "3": [],
            "4": [],
            "5": [],
            "6": [],
            "7": [],
            "8": [],
            "9": [],
            "10": [] 
        }
 },