Rewrite #30

Merged
S4NKALP merged 506 commits from dev into macos 2026-07-18 16:11:08 +00:00
Showing only changes of commit 7371b4fcb8 - Show all commits
+3 -2
View File
@@ -10,6 +10,7 @@ from fabric.utils import (
os,
random,
re,
exec_shell_command_async,
)
from fabric.widgets.box import Box
from fabric.widgets.button import Button
@@ -443,8 +444,8 @@ class AppBar(Box):
if command_line:
cleaned_command = re.sub(r"%\w+", "", command_line).strip()
final_command = f"hyprctl dispatch exec 'uwsm app -- {cleaned_command}'"
subprocess.Popen(final_command, shell=True)
final_command = f"hyprctl dispatch 'hl.dsp.exec_cmd([[uwsm app -- {cleaned_command}]])'"
exec_shell_command_async(final_command)
elif hasattr(app_info, "launch"):
app_info.launch()
else: