feat(hyprlock): update

This commit is contained in:
2026-02-25 01:35:25 +01:00
parent 566513de78
commit 74dda82f24
10 changed files with 115 additions and 24 deletions

View File

@@ -8,7 +8,6 @@
"passthrough": false,
"fixed-center": true,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["mpris"],
"modules-right": [
"cpu",
"memory",
@@ -21,27 +20,12 @@
"battery",
"tray",
"custom/notification",
"custom/power"
"custom/power",
],
"custom/spotify": {
"format": " {}",
"return-type": "json",
"on-click": "playerctl -p spotify play-pause",
"on-click-right": "spotifatius toggle-liked",
"on-click-middle": "playerctl -p spotify next",
"exec": "spotifatius monitor",
},
"mpris": {
"player": "spotify",
"dynamic-order": ["artist", "title"],
"format": "{player_icon} {dynamic}",
"format-paused": "{status_icon} <i>{dynamic}</i>",
"status-icons": {
"paused": "",
},
"player-icons": {
"default": "",
},
"format": "{cover_art} {artist} - {title}",
"icon-size": 20,
"max-length": 40
},
"hyprland/workspaces": {
"on-click": "activate",
@@ -138,6 +122,12 @@
"on-click": "wlogout -p layer-shell &",
"format": "⏻",
},
"custom/nowplaying": {
"exec": "~/.config/waybar/scripts/nowplaying.sh",
"interval": 2,
"return-type": "json",
"on-click": "playerctl play-pause"
},
"custom/notification": {
"escape": true,
"exec": "swaync-client -swb",
@@ -157,7 +147,7 @@
"custom/weather": {
"format": "{}",
"interval": 600,
"exec": "~/.config/waybar/scripts/weather.sh", // or your dotfiles folder if you use stow
"exec": "~/.config/hypr/scripts/weather.sh", // or your dotfiles folder if you use stow
"return-type": "json",
"on-click": "gnome-weather"
},