We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf8a804 commit 6256530Copy full SHA for 6256530
1 file changed
khal-agenda-widget/DesktopWidget.qml
@@ -30,15 +30,18 @@ DraggableDesktopWidget {
30
}
31
32
33
- // Universal terminal launcher (Handles -e and -- syntax)
+ // Universal terminal launcher (Handles -e and -- syntax) but has the class for kitty alone
34
Process {
35
id: openIkhal
36
command: [
37
"sh", "-c",
38
"for term in xdg-terminal-exec kitty alacritty foot gnome-terminal konsole st xterm; do " +
39
"if command -v $term >/dev/null 2>&1; then " +
40
+ "if [ \"$term\" = \"kitty\" ]; then " +
41
+ "exec kitty --class khal -e ikhal; " +
42
+ "else " +
43
"exec $term -e ikhal 2>/dev/null || exec $term -- ikhal; " +
- "break; fi; done"
44
+ "fi; break; fi; done"
45
]
46
47
0 commit comments