more waybar

This commit is contained in:
2025-02-07 20:33:24 +00:00
parent cbf6f42847
commit 9d6cf0e29f
7 changed files with 107 additions and 51 deletions

View File

@@ -2,14 +2,18 @@
{
"layer": "top",
"position": "bottom",
"height": 40,
"modules-center": ["wlr/taskbar"],
"modules-center": ["image#pfp", "wlr/taskbar"],
"image#pfp": {
"path": "/home/deadvey/pictures/pfp.png",
"size": 30,
"interval": 20,
"on-click": "fuzzel",
},
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 30,
"icon-theme": "Gruvbox-Dark",
"tooltip-format": "{title}",
"tooltip-format": "{name}",
"on-click": "activate",
"on-click-right": "minimize",
"on-click-middle": "close",
@@ -29,9 +33,28 @@
"layer": "top",
"position": "top",
"height": 30,
"modules-left": ["hyprland/workspaces", "custom/temperature", "cpu", "memory", "custom/time"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio/slider","pulseaudio", "tray"],
"mode": "dock",
"modules-left": [
"hyprland/workspaces",
],
"modules-center": [
"clock"
],
"modules-right": [
"custom/cmusinfo",
"pulseaudio/slider",
"network",
"tray",
],
"custom/cmusinfo": {
"exec": "ssh max@192.168.1.193 cmus-remote -Q | grep title | sed 's/tag title //'",
"format": " {}",
"interval": 1,
"on-click": "ssh max@192.168.1.193 cmus-remote -u",
"on-click-right": "ssh max@192.168.1.193 cmus-remote -n",
"on-scroll-down": "ssh max@192.168.1.193 cmus-remote -v -10%",
"on-scroll-up": "ssh max@192.168.1.193 cmus-remote -v +10%",
},
"hyprland/workspaces": {
"disable-scroll": true,
"show-special": true,
@@ -46,6 +69,26 @@
"default": ""
}
},
"network": {
"interface": "enp5s0",
"format": "{ifname}",
"format-wifi": " ",
"format-ethernet": " ",
"format-disconnected": "", //An empty format will hide the module.
"tooltip-format": "{ifname} via {gwaddr} 󰊗",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ipaddr} {ifname}",
"tooltip-format-disconnected": " ",
"max-length": 50
},
"custom/seperator": {
"format": "|",
},
"server-cava": {
"exec": "ssh max@192.168.1.193 bash /home/max/caway.sh",
"format": "{}",
"interval": 30,
},
"pulseaudio/slider": {
"min": 0,
"max": 100,
@@ -73,7 +116,28 @@
},
"clock": {
"format": "{:%a, %d %b %Y %H:%M:%S %p}",
"interval": 1
"interval": 1,
"tooltip-format": "<tt><small>{calendar}</small></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>"
}
},
"actions": {
"on-click-right": "mode",
"on-scroll-up": "tz_up",
"on-scroll-down": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
"custom/temperature": {
"format": "{} ",