[
{
"layer": "top",
"position": "bottom",
"mode": "invisible",
"modules-center": ["image#pfp", "wlr/taskbar"],
"image#pfp": {
"path": "/home/deadvey/pictures/pfp.png",
"size": 30,
"interval": 20,
"on-click": "fuzzel --anchor bottom",
},
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 30,
"icon-theme": "Gruvbox-Dark",
"tooltip-format": "{name}",
"on-click": "activate",
"on-click-right": "minimize",
"on-click-middle": "close",
"ignore-list": [
"Alacritty"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
}
}
},
{
"layer": "top",
"position": "top",
"height": 30,
"mode": "dock",
"modules-left": [
"hyprland/workspaces",
],
"modules-center": [
"clock"
],
"modules-right": [
"tray",
"group/specs",
"group/cmus",
"group/audio",
"network",
"custom/notification",
"group/power",
],
"custom/notification": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"notification": "",
"none": "",
"dnd-notification": "",
"dnd-none": "",
"inhibited-notification": "",
"inhibited-none": "",
"dnd-inhibited-notification": "",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
"tray": {
"spacing": 20,
},
"group/audio": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-power",
"transition-right-to-left": true,
},
"modules": ["pulseaudio","pulseaudio/slider"],
},
"group/power": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-power",
"transition-right-to-left": true,
},
"modules": [
"custom/power", // First element is the "group leader" and won't ever be hidden
"custom/quit",
"custom/lock",
"custom/reboot",
]
},
"custom/quit": {
"format": " ",
"tooltip": false,
"on-click": "hyprctl dispatch exit"
},
"custom/lock": {
"format": " ",
"tooltip": false,
"on-click": "hyprlock"
},
"custom/reboot": {
"format": " ",
"tooltip": false,
"on-click": "reboot"
},
"custom/power": {
"format": " ",
"tooltip": false,
"on-click": "shutdown now"
},
"memory": {
"format": "{used}/{total} GB ",
"on-click": "flatpak run io.github.cosmic_utils.Examine",
},
"cpu": {
"format": "{}% ",
"on-click": "flatpak run io.github.cosmic_utils.Examine",
},
"custom/thermal": {
"exec": "sensors | grep Tctl: | sed 's/Tctl:[ ]\\+//'",
"format": "{} ",
"interval": 1,
},
"group/specs": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"transition-right-to-left": true
},
"modules": ["custom/specsicon","cpu", "memory","custom/thermal"],
},
"custom/specsicon": {
"format": " ",
"on-click": "flatpak run io.github.cosmic_utils.Examine",
},
"group/cmus": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"transition-right-to-left": true
},
"modules": ["custom/cmusicon","custom/cmussong","custom/cmusartist"],
},
"custom/cmusicon": {
"format": " ",
"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%",
},
"custom/cmussong": {
"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%",
},
"custom/cmusartist": {
"exec": "ssh max@192.168.1.193 cmus-remote -Q | grep albumartist | sed 's/tag albumartist //'",
"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,
"all-outputs": true,
"move-to-monitor": false,
"wrap-on-scroll": false,
"format": "{icon}{name}",
"format-active": "[{name}]",
"format-icons": {
"urgent": "!",
"active": "",
"default": ""
},
"persistent-workspaces": {
"*": [ 1,2,3,4,5,6,7,8,9,0 ],
},
},
"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,
"orientation": "horizontal"
},
"pulseaudio": {
"format": "{icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": " ",
"format-icons": {
"alsa_output.pci-0000_00_1f.3.analog-stereo": "",
"alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "",
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"phone-muted": "",
"portable": "",
"car": "",
"default": [" ", " "]
},
"scroll-step": 5,
"on-click": "pavucontrol",
"ignored-sinks": ["Easy Effects Sink"]
},
"clock": {
"format": "{:%a, %d %b %Y %H:%M:%S %p}",
"interval": 1,
"tooltip-format": "{calendar}",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"months": "{}",
"days": "{}",
"weeks": "W{}",
"weekdays": "{}",
"today": "{}"
}
},
"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": "{} ",
"exec": "sensors | grep 'Tctl:' | sed -E 's/Tctl:[ ]+//' | sed -E 's/[ ]+//'",
"interval": 1,
},
"custom/time": {
"exec": "bash $HOME/scripts/time.sh --hex",
"format": "{}",
"interval": 1,
},
"custom/server-cava": {
"exec": "ssh max@192.168.1.193 bash /home/max/caway.sh",
"format": "{}",
"interval": 1,
},
}
]