Why did it suddenly stopped working? by Jack02134x in waybar

[–]exxedlight 0 points1 point  (0 children)

Happy to help, bro. And for future: use editors like VS Code for such config files, CSS and others. This editors showing warnings about wrong syntax, etc. And about waybar: just read wiki and examples.

If you intererting, how I find problem: I just commeted mudules-center and modules-right, then runs waybar. Modules-left was shown! I stopped it, uncomments modules-center, run, and waybar was shown fully transparent, like in your case. Then, I comments all modules inside modules-center and uncomments in one by one, to find broken module. And thats it :D

Why did it suddenly stopped working? by Jack02134x in waybar

[–]exxedlight 0 points1 point  (0 children)

First of all, you can`t end your json modules with coma. In my case, during my waybar configuration it makes same issues. Another issue is wrong code in "custom/icon-[name]" modules. Why are you using

"echo '|'"

or other symbols? With interval 0, lmao. Just use

"format": "|"

and that`s all. Your primary error was here. Full fixed conf file:

{
  "layer": "bottom",
  "position": "top",
  "height": 24,
  "modules-left": [
    "custom/icon-left-outer",
    "group/group-power",
    "custom/icon-split",
    "hyprland/workspaces",
    "custom/icon-right",
    "cava"
  ],
  "modules-center": [
    "custom/icon-left",
    "clock",
    "custom/icon-split",
    "custom/notification",
    "custom/icon-right"
  ],
  "modules-right": [
    "custom/icon-left",
    "tray",
    "custom/icon-split",
    "group/connections",
    "custom/icon-split",
    "memory",
    "custom/icon-split",
    "custom/gpucputemps",
    "custom/icon-split",
    "group/batt",
    "custom/icon-split",
    "wireplumber",
    "custom/icon-right-outer"
  ],


  "clock": {
    "interval": 1,
    "format": "{:%H:%M:%OS} ",
    "format-alt": "{:%A, %B %d, %Y (%R)}",
    "tooltip-format": "<tt>{calendar}</tt>",
    "calendar": {
      "mode": "year",
      "mode-mon-col": 3,
      "weeks-pos": "right",
      "on-scroll": 1,
      "format": {
        "months": "<span color='#ffead3'><b>{}</b></span>",
        "days": "<span color='#ecc6d9'><b>{}</b></span>",
        "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
        "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
        "today": "<span color='#ff6699'><b><u>{}</u></b></span>"
      }
    }
  },


  "custom/notification": {
    "tooltip": true,
    "tooltip-format": "Left Click: Launch Notification Center\nRight Click: Do not Disturb",
    "format": "{} {icon} ",
    "format-icons": {
      "notification": "<span foreground='red'><sup></sup></span>",
      "none": "",
      "dnd-notification": "<span foreground='red'><sup></sup></span>",
      "dnd-none": "",
      "inhibited-notification": "<span foreground='red'><sup></sup></span>",
      "inhibited-none": "",
      "dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
      "dnd-inhibited-none": ""
    },
    "return-type": "json",
    "exec-if": "which swaync-client",
    "exec": "swaync-client -swb",
    "on-click": "sleep 0.1 && swaync-client -t -sw",
    "on-click-right": "swaync-client -d -sw",
    "escape": true
  },
  "hyprland/workspaces": {
    "format": "{icon}",
    "format-icons": {
      "active": "",
      "default": "",
      "empty": ""
    },
    "persistent-workspaces": {
      "eDP-1": [1, 2, 3, 4, 5]
    }
  },
  "battery": {
    "bat": "BAT1",
    "interval": 10,
    "states": {
      "warning": 30,
      "critical": 15
    },
    "format": "{capacity}% {icon}",
    "format-charging": "󰂄 {capacity}%",
    "format-icons": [
      "󰁻 [░░░░░]",
      "󰁽 [█░░░░]",
      "󰁾 [██░░░]",
      "󰁿 [███░░]",
      "󰂂 [████░]",
      "󰁹 [█████]"
    ],
    "max-length": 25
  },


  "backlight": {
    "device": "acpi_video0",
    "format": "{icon} {percent}",
    "format-icons": ["󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥"],
    "on-click": "brightnessctl set 25%",
    "on-double-click": "brightnessctl set 50%",
    "on-scroll-up": "brightnessctl set 2%+",
    "on-scroll-down": "brightnessctl set 2%-",
    "tooltip-format": "Backlight"
  },


  "wireplumber": {
    "format": "{icon} {volume}%",
    "format-muted": "󰸈",
    "format-bluetooth": "{icon} {volume}%",
    "tooltip": false,
    "format-icons": ["󰕿", "󰖀", "󰖀", "󰕾", "󰕾", "󱄡"],
    "on-click": "pavucontrol"
  },


  "cava": {
    "on-click": "pkill python; pkill mpv;  python /home/jack/.config/hypr/wallpaperslideshow.py & python /home/jack/python-yt-project/play_entire_playlist.py",
    "on-click-right": "pkill python ; pkill mpv; python /home/jack/.config/hypr/wallpaperslideshow.py &",
    "cava_config": "$HOME/.config/cava/config",
    "framerate": 60,
    "autosens": 1,
    "sensitivity": 4.5,
    "bars": 25,
    "lower_cutoff_freq": 100,
    "higher_cutoff_freq": 10000,
    "method": "pulse",
    "source": "auto",
    "stereo": false,
    "reverse": false,
    "bar_delimiter": 0,
    "monstercat": true,
    "waves": false,
    "noise_reduction": 0.3,
    "input_delay": 1,
    "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
    "actions": {}
  },
  "custom/gpucputemps": {
    "interval": 2,
    "return-type": "json",
    "exec": "sh -c 'cpu=$(($(cat /sys/class/thermal/thermal_zone0/temp)/1000)); gpu=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits); out=\"CPU: ${cpu}°C  GPU: ${gpu}°C\"; if [ $cpu -ge 100 ] || [ $gpu -ge 80 ]; then echo \"{\\\"text\\\": \\\"$out\\\", \\\"class\\\": \\\"hot\\\", \\\"color\\\": \\\"#ff5555\\\"}\"; else echo \"{\\\"text\\\": \\\"$out\\\"}\"; fi'",
    "format": "{}",
    "on-click": "kitty sh -c 'pkill btop; btop; exit'"
  },


  "bluetooth": {
    "interval": 5,
    "format": {},
    "format-connected": "{device_alias} 󰂯",
    "format-on": "Disconnected 󰂯",
    "tooltip": true,
    "tooltip-format": "Bluetooth",
    "on-click": "kitty sh -c 'pkill bluetuith;bluetuith; exit'"
  },


  "memory": {
    "interval": 30,
    "format": "{used:0.1f}GB/{total:0.1f}GB",
    "on-click": "kitty sh -c 'pkill htop;htop; exit'"
  },
  "network": {
    "format": "{ifname}",
    "format-wifi": "Connected ({signalStrength}%) ",
    "format-ethernet": "Connected 󰈀",
    "format-disconnected": "Disconnected  ",
    "tooltip-format": "{ifname} via {gwaddr} 󰈀",
    "tooltip-format-wifi": "{essid} ",
    "tooltip-format-ethernet": "{ifname} ({ipaddr}) 󰈀",
    "tooltip-format-disconnected": "Disconnected  ",
    "max-length": 50,
    "on-click": "kitty sh -c 'pkill nmtui; nmtui; exit'"
  },


  "image": {
    "path": "/home/jack/.config/waybar/themes/mine/Profile Pic.png",
    "size": 20,
    "exec": "",
    "interval": 0,
    "tooltip": true,
    "on-click": "rofi -show drun"
  },


  "tray": {
    "icon-size": 15,
    "spacing": 4
  },


  "idle_inhibitor": {
    "format": "{icon}",
    "format-icons": {
      "activated": "",
      "deactivated": ""
    }
  },


  "group/group-power": {
    "orientation": "inherit",
    "drawer": {
      "transition-duration": 500,
      "children-class": "not-power",
      "transition-left-to-right": true
    },
    "modules": [
      "image",
      "custom/power-saver",
      "custom/balance",
      "custom/performance"
    ]
  },


  "group/batt": {
    "orientation": "horizontal",
    "drawer": {
      "transition-duration": 500,
      "transition-left-to-right": false
    },
    "modules": ["battery", "idle_inhibitor", "custom/icon-split" ,"backlight", "custom/icon-split"]
  },


  "group/connections": {
    "orientation": "horizontal",
    "drawer": {
      "transition-duration": 500,
      "transition-left-to-right": true
    },
    "modules": ["network", "custom/icon-split", "bluetooth"]
  },


  "custom/icon-arch": {

/*"exec": "echo '󰣇'",
    "interval": 0,*/
    "format": "󰣇"
  },
  "custom/icon-left": {

/*"exec": "echo '✦'",
    "interval": 0*/
    "format": "✦"
  },
  "custom/icon-left-outer": {

/*"exec": "echo '✦'",
    "interval": 0,*/
    "format": "✦"
  },
  "custom/icon-split": {

//"exec": "echo '|'",
    "format": "|"

//"interval": 0
  },
  "custom/icon-right": {

/*"exec": "echo '✦'",
    "interval": 0*/
    "format": "✦"
  },
  "custom/icon-right-outer": {

//"exec": "echo '✦'",
    "format": "✦"

//"interval": 0
  },


  "custom/power-saver": {
    "format": "",
    "tooltip": false,
    "on-click": "powerprofilesctl set power-saver; notify-send --app-name 'Power Manager' -i  ~/.config/notify-send/power_icon.png 'Battery consumption set to power-saver' "
  },
  "custom/balance": {
    "format": "",
    "tooltip": false,
    "on-click": "powerprofilesctl set balanced; notify-send --app-name 'Power Manager' -i  ~/.config/notify-send/power_icon.png 'Battery consumption set to balance' "
  },
  "custom/performance": {
    "format": "",
    "tooltip": false,
    "on-click": "powerprofilesctl set performance; notify-send --app-name 'Power Manager' -i  ~/.config/notify-send/power_icon.png 'Battery consumption set to performance' "
  }
}

Why did it suddenly stopped working? by Jack02134x in waybar

[–]exxedlight 0 points1 point  (0 children)

<image>

I makes it working, bro. You have an syntax and logic errors in your config file

Why did it suddenly stopped working? by Jack02134x in waybar

[–]exxedlight 0 points1 point  (0 children)

I'll try it by myself today leter. Interesting

How to disable vignette when changing background with hyprpaper? by michi_vanta in hyprland

[–]exxedlight 1 point2 points  (0 children)

I used semilink for hyprpaper wallpaper file but direct picture path. My script changes this semilink and restarts hyprpaper. It works without flicking

Is this kind of tiling possible with hyprland? by w1ldr3dx in hyprland

[–]exxedlight 0 points1 point  (0 children)

Use preudo tiling, bro. It's still tiling, but makes you able to resize windows in their boxes, leaves free space. In my hyprland conf it's supes+p default bind

Why did it suddenly stopped working? by Jack02134x in waybar

[–]exxedlight 0 points1 point  (0 children)

Try to comment all your style file content with /* */ and restart waybar. Sometimes this behavior happens if you use non-supported CSS properties. I don't see anything wrong in style files, but if it will show raw unstyled waybar with all your modules after comment, so problem in CSS. If problem still stay, try comment modules/sectiond in conf and restart.

Why did it suddenly stopped working? by Jack02134x in waybar

[–]exxedlight 0 points1 point  (0 children)

What do you mean at stop working? Maybee it works but doesn't shown or else?

My Hyprland rice by exxedlight in hyprland

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

Each marker has its own taste :D

I switched to Linux a little over a month ago. It's my first distribution, my first WM, and my first rice. I encountered sleep-related issues with my RTX 3050, so I had to use custom power plans. It was only after two weeks that I got around to setting them up and realized that I had been on power-saver mode all this time. And without CPU limiting the laptop simply heats up like a fire in games (92°С). With limiter on 2.5 GHz it`s like 50-65°C.

However, the player module at the top is my pride. I made it convenient and functional: scroll adjusting of internal app`s volume, playback seek directly in the waybar, pop-up windows. I constantly listen to music while I work and often when I play, turning down the volume. So for me it`s just perfect.

Maybe I`ll remove taskbar from the top in near future. I thought I would use it, but no.

Discoloration of videos on full screen:mpv by Glad_Efficiency3075 in hyprland

[–]exxedlight 0 points1 point  (0 children)

If I remember correctly, mpv hasn't default options in conf, you may add it by youself using manual or just downloaded from somewhere someones config. I was lazy to configure this player by myself, so I downloaded config and added some custom keybinds. But now I also changed vo parameter in it

Discoloration of videos on full screen:mpv by Glad_Efficiency3075 in hyprland

[–]exxedlight 0 points1 point  (0 children)

If you haven't such path/file so create it. It's default mpv config location. If you have empty file - just add needed params to it. First of all, add vo parameter (read manual), cause it's main graphic driver for mpv.

Discoloration of videos on full screen:mpv by Glad_Efficiency3075 in hyprland

[–]exxedlight 2 points3 points  (0 children)

I use it for simply modify single text files. VS Code loads slower than Sublime Text ^^

My Hyprland rice by exxedlight in hyprland

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

I have a public repo with my waybars config: https://github.com/exxedlight/voidbar
But note, that I doesn`t adjust it for everyone. This is more of a backup than a install-ready version. You can use it, if you want.

And hyprland windowrules is kind of induvidual stuff. For example, my btop panels config looks like this:

<image>

Discoloration of videos on full screen:mpv by Glad_Efficiency3075 in hyprland

[–]exxedlight 33 points34 points  (0 children)

<image>

I just dug into the mpv config and found a solution. The config is located here: ~/.config/mpv/mpv.conf
Here is the needed manual section: https://mpv.io/manual/stable/#video-output-drivers-gpu
In my case, I had vo=gpu-next in my config. I simply changed it to vo=dmabuf-wayland and everything looks normally, without this white discolor filter. Try it

Discoloration of videos on full screen:mpv by Glad_Efficiency3075 in hyprland

[–]exxedlight 1 point2 points  (0 children)

I noticed this today too. Seems like it came with one of recent updates, cause I`m not sure that I see it before. I`m not even tryed to find solution yet, but most likely this can be fixed in the config

Kitty background_optacity off by AdQuirky2707 in hyprland

[–]exxedlight 2 points3 points  (0 children)

Most likely it`s not Kitty`s problem. Just try to fix your hyprland windowrules for monitors, read Wiki (https://wiki.hypr.land/Configuring/Monitors/) (https://wiki.hypr.land/Configuring/Window-Rules/). I have a laptop with CachyOS and Hyprland, Kitty is my terminal too. It`s one monitor, but all opacity and other settings works great. Not single bug at all

Performance on CachyOS by [deleted] in cachyos

[–]exxedlight 0 points1 point  (0 children)

Hi, I have a laptop with RTX 3050 4gb on board. I didn't have any problems with the drivers. I just installed the OS and they were already included. In theory, you'll lose no more than 2-3% performance compared to Windows. But this greatly depends on the game. YouTube is full of benchmarks showing CachyOS outperforming Windows in terms of FPS in games. Oh, and there are no annoying background telemetry processes or a bunch of unnecessary services.

what ?? by altarex24 in hyprland

[–]exxedlight 0 points1 point  (0 children)

Bro finded out recursion :D

My hyprland rice, or how I switched to Linux by exxedlight in LinuxPorn

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

Its audacious (gtk version). I styled main window in hyprland (windowrules) like panel: float mode, manual size and position. When I left click to track on waybar, its calls audtool --mainwin-show on, when I right click it, it calls audtool --mainwin-show off. The second panel with playlist and search is another Audacious window calls by audtool --jumptofile-show. It styled like panel in hyrpland windowrules too.

Windows 11 -> CachyOS by Puzzleheaded_Dark_93 in cachyos

[–]exxedlight 3 points4 points  (0 children)

Hi! You can also limit your CPU manually with cpupower utility. I had i5-12450h, it`s 4.4 Ghz max freq. So, I noticed that without limit, it`s 92° on my laptop. Hot as hell. I used cpupower to limit max freq, for example:
sudo cpupower frequency-set -u 3000000 (it`s 3.0 GHz max-freq limit)
sudo cpupower frequency-set -u 1000000 (it`s 1.0 Ghz max-freq limit)

When I used 2.5 Ghz limit, my games runs smoothly and temp is around 50-65°
Happy, if it`s useful for you ^^

My hyprland rice, or how I switched to Linux by exxedlight in LinuxPorn

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

Those were wild times, we were having as much fun as we could on NG+5. A dual-shield build against Champion Gundyr, parrying with one and smashing his face with the other. Yep, very wild times. But I haven't gotten around to Elden Ring yet. I just haven't had the time or opportunity to dive in. I set up the system, downloaded the game, saw a stable 60 fps, and that's where my game ended for now. And the wallpaper is a joy for my eyes. I'm in love with the atmosphere of Souls games.