From 34579d8f31638c3f0a12e3692cb0de89df5ce00d Mon Sep 17 00:00:00 2001 From: inorishio Date: Sat, 16 May 2026 12:52:09 +0200 Subject: [PATCH] Fixed hyprland shortcuts --- src/bin/ideskpet.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/ideskpet.rs b/src/bin/ideskpet.rs index f4b199d..2bdf33e 100644 --- a/src/bin/ideskpet.rs +++ b/src/bin/ideskpet.rs @@ -420,8 +420,10 @@ fn cmd_shortcut(shortcut: &str) { let shortcut_full = format!("{APP_ID}:{shortcut}"); println!("{GREEN}[INFO]{NC} Triggering shortcut: {shortcut_full}"); + let dispatch_arg = format!("hl.dsp.global(\"{shortcut_full}\")"); + let status = Command::new("hyprctl") - .args(["dispatch", "global", &shortcut_full]) + .args(["dispatch", &dispatch_arg]) .status(); match status {