Updated
This commit is contained in:
parent
2c8bd6c741
commit
9ae2c4e514
8 changed files with 114 additions and 6 deletions
11
.config/ghostty/reload.sh
Executable file
11
.config/ghostty/reload.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# ابحث عن النوافذ المفتوحة من Ghostty
|
||||
for win_id in $(hyprctl clients | grep -B 1 'com.mitchellh.ghostty' | grep -oP 'Window \K[0-9a-f]{14}'); do
|
||||
echo "Focusing window ID: $win_id"
|
||||
hyprctl dispatch focuswindow $win_id # اعمل فوكوس للنافذة
|
||||
|
||||
# ارسال مفتاح لإعادة تحميل Ghostty (مثال: Shift+Ctrl+,)
|
||||
wtype --window $win_id "Shift+Ctrl+," # اختصار المفتاح
|
||||
sleep 0.5 # تأخير بسيط بعد ارسال كل أمر
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue