From 225f89659f41d7d68cf8866c500bdebc1e24a8e6 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 2 Sep 2024 17:35:58 +0800 Subject: updates --- dot-config/waybar/modules.jsonc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/dot-config/waybar/modules.jsonc b/dot-config/waybar/modules.jsonc index 5534fc76..9f7f58d4 100644 --- a/dot-config/waybar/modules.jsonc +++ b/dot-config/waybar/modules.jsonc @@ -42,14 +42,15 @@ } }, "mpris": { - "format": "{player_icon} {dynamic}", + "format": "{status_icon} {dynamic}", "format-paused": "{status_icon} {dynamic}", + "tooltip-format": "{title} by {artist} - {album} {position}/{length}", "dynamic-order": ["title", "position", "length"], - "player-icons": { - "default": "▶", - "mpv": "🎵" - }, + // "player-icons": { + // "default": "▶", + // }, "status-icons": { + "playing": "▶", "paused": "⏸" }, "interval": 1, @@ -161,21 +162,25 @@ "custom/quit": { "format": "󰗼", "tooltip": false, + "on-click": "notify-send 'Hyprland' 'Click again to Exit'", "on-double-click": "hyprctl dispatch exit" }, "custom/lock": { "format": "󰍁", "tooltip": false, + "on-click": "notify-send 'Hyprland' 'Click again to Lock'", "on-double-click": "hyprlock" }, "custom/reboot": { "format": "󰜉", "tooltip": false, + "on-click": "notify-send 'Hyprland' 'Click again to Reboot'", "on-double-click": "reboot" }, "custom/shutdown": { "format": "", "tooltip": false, + "on-click": "notify-send 'Hyprland' 'Click again to Shutdown'", "on-double-click": "shutdown now" }, "group/power": { -- cgit v1.2.3