This commit is contained in:
2025-02-10 14:33:12 +00:00
parent 9d6cf0e29f
commit 14dd1c3a0a
7 changed files with 141 additions and 33 deletions

View File

@@ -41,14 +41,106 @@
"clock"
],
"modules-right": [
"custom/cmusinfo",
"pulseaudio/slider",
"network",
"tray",
"group/specs",
"group/cmus",
"group/audio",
"network",
"group/power",
],
"custom/cmusinfo": {
"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",
},
"group/specs": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"transition-right-to-left": true
},
"modules": ["custom/specsicon","cpu", "memory"],
},
"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": "{}",
"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",
@@ -59,7 +151,7 @@
"disable-scroll": true,
"show-special": true,
"all-outputs": true,
"move-to-monitor": true,
"move-to-monitor": false,
"wrap-on-scroll": false,
"format": "{icon}{name}",
"format-active": "[{name}]",
@@ -67,7 +159,10 @@
"urgent": "!",
"active": "",
"default": ""
}
},
"persistent-workspaces": {
"*": [ 1,2,3,4,5,6,7,8,9,0 ],
},
},
"network": {
"interface": "enp5s0",
@@ -97,7 +192,7 @@
"pulseaudio": {
"format": "{icon}",
"format-bluetooth": "{volume}% {icon}",
"format-muted": "",
"format-muted": " ",
"format-icons": {
"alsa_output.pci-0000_00_1f.3.analog-stereo": "",
"alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "",
@@ -108,7 +203,7 @@
"phone-muted": "",
"portable": "",
"car": "",
"default": ["", ""]
"default": [" ", " "]
},
"scroll-step": 5,
"on-click": "pavucontrol",
@@ -144,29 +239,11 @@
"exec": "sensors | grep 'Tctl:' | sed -E 's/Tctl:[ ]+//' | sed -E 's/[ ]+//'",
"interval": 1,
},
"cpu": {
"format": "{}% "
},
"memory": {
"format": "{}% "
},
"custom/time": {
"exec": "bash $HOME/scripts/time.sh --hex",
"format": "{}",
"interval": 1,
},
"custom/lock": {
"on-click": "hyprlock",
"format": "",
},
"custom/shutdown": {
"on-click": "shutdown now",
"format": "",
},
"custom/reboot": {
"on-click": "reboot",
"format": "",
},
"custom/server-cava": {
"exec": "ssh max@192.168.1.193 bash /home/max/caway.sh",
"format": "{}",