The Problem with Polybar

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 32

  • @Prophet6000
    @Prophet6000 Год назад +48

    We need a tutorial on EWW-bar.

    • @vaisakh_km
      @vaisakh_km Год назад +3

      EWW is a rabbit hole... yack...

    • @bernardogalvao4448
      @bernardogalvao4448 Год назад +2

      As a guy who has never used any bar, I upvote this because Rust

    • @itstoxicqt
      @itstoxicqt Год назад +2

      EWW in general I want to learn how to make a dashboard 😅

  • @alexandrosvangelatos9979
    @alexandrosvangelatos9979 Год назад +34

    Try the default config for polybar and see if the resource are normal.
    If it is, it's probably a module or a script that you are using.

  • @rivciks5045
    @rivciks5045 Год назад +5

    Check your refresh interval. If it’s too frequent, then it draws too much processing power.

  • @gor.
    @gor. Год назад +6

    Polybar launched on KDE.
    IPC is enabled.
    Poll intervals in modules are 60 (those modules which have them).
    Memory - 3Mb, Shared memory - 19.5 Mb.
    Is this a lot?

    • @DaEpic
      @DaEpic Год назад +1

      Cpu usage are higher though

    • @gor.
      @gor. Год назад +1

      @@DaEpic subjectively i do not see difference between polybar and no polybar, it's somewhere under 1% i guess. I just killed it and nothing changed. Maybe mine is not overloaded with stuff? idk

  • @edmund3504
    @edmund3504 Год назад +1

    I started out with dwm+slstatus but now that I switched to wayland I just have a simple shell script to fetch what I want. I have looked at waybar but it just looks like a pain to configure

    • @thefearlessgeek
      @thefearlessgeek Год назад

      I've heard one other person say that they found it a pain to configure. But I find it easy with the CSS and JSON. I suppose it's because I'm a web developer so I know the CSS and JSON needed for the configuration. I guess if you're not a web developer, I can understand it's a bit more challenging.

  • @tjwoosta
    @tjwoosta Год назад +6

    I have archcraft with openbox/bspwm and polylbar running on my old junk laptop. Even with archcrafts riced out configs polybar uses less than 1% of my intel atom z3600 processor (which idles at about 25% on stock gnome with nothing open), and less than 0.5% of my 4gb ram.
    I think you're probbaly having problems with some script that polybar is running or something.

  • @moris7361
    @moris7361 Год назад +2

    Once i figure out the system tray on eww i’ll probably switch to it then

  • @d1ryan
    @d1ryan Год назад +1

    Chris, what bar did you say you are using?

    • @DaEpic
      @DaEpic Год назад +2

      Eww bar i guess

  • @normalizedaudio2481
    @normalizedaudio2481 Год назад +2

    Checking now. Cinnamon seems OK. You should see back in the X Windows days.... That was a beast.

  • @allangjtterupernst6437
    @allangjtterupernst6437 Год назад +2

    My Polybar is using close to nothing, and it's pretty bloated (xmonad, multiple monitors, system tray and more)

  • @johanngambolputty5351
    @johanngambolputty5351 Год назад +2

    I use more or less default config and I get 0% CPU usage with no programs open...

  • @rossvold
    @rossvold Год назад +1

    Polybar is barely taking any resources at all for me right now, i have quite a few monitors with different settings and fully riced up

  • @thefearlessgeek
    @thefearlessgeek Год назад +1

    I daily drive Hyprland and I love Waybar.

  • @Tweaker420666
    @Tweaker420666 Год назад +2

    Its unpopular these days and is a little resource hungry but latte-dock

  • @peterheggs512
    @peterheggs512 Год назад

    my polybar uses 20M memory, seems to be quite fine

    • @Lounes378
      @Lounes378 Год назад

      I think he was talking about cpu usage

    • @shallex5744
      @shallex5744 Год назад

      that seems like a lot
      i checked mine and it uses 28mb, and mine doesn't even do much, it just shows my bspwm workspaces, the active window title, my ram usage, and the current time
      i feel like 10mb should be the absolute maximum for something like that

    • @peterheggs512
      @peterheggs512 Год назад +1

      @@Lounes378 ah possible, but I don''t even see any cpu usage.. but then that obviously depends on configs

    • @peterheggs512
      @peterheggs512 Год назад

      @@shallex5744 I thought so as well at first but honestly I am not familiar with many gui apps that are smaller. something like xclock takes 10mb. But as soon as you use some kind of advanced graphics/fonts library (cairo in this case, probably for antialiasing) and other libraries embedded for the stuff you can use in your polybar you're probably going to get to that amount

    • @shallex5744
      @shallex5744 Год назад +1

      @@peterheggs512 i use dmenu, and i like their philosophy that you should compile in the changes that you want, so the bar is very minimal and only contains the things you want at compile time and nothing else. i wonder if there is a bar that follows that philosophy as well. possibly suckless' own dwmblocks? i haven't looked into it

  • @neta540
    @neta540 Год назад +1

    Why are people so okay with sacrificing their screen space with something ugly and distracting like a bar? OSD is the way to go imo.
    This doesn't take any resources unless it's there displaying something, and then the process terminates. Launch as needed with whatever info to display as you want.

    • @Golden2Talon
      @Golden2Talon 11 месяцев назад

      What is OSD

    • @hypnoz7871
      @hypnoz7871 6 месяцев назад +1

      OSD and real-time monitoring are not exacty compatible.
      Also you known some people may have different need than you do. (real time monitoring again)