aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-02-06 13:34:14 -0500
committerDon Williams <don.e.williams@gmail.com>2026-02-06 13:34:14 -0500
commitad538922f3e254e2c4e5acaea529d623c90d4f68 (patch)
treedddc6f5d986e19f0b86d7b0f22612d5a45b7b6ed
parentb1eb8785b721b1497576f6d616ee4748f8515921 (diff)
Fixed rofi cli apps starting from xterm
Now the default terminal is Kitty On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: CHANGELOG.md new file: config/rofi/00-terminal.rasi modified: config/rofi/config.rasi
-rw-r--r--CHANGELOG.md3
-rw-r--r--config/rofi/00-terminal.rasi8
-rw-r--r--config/rofi/config.rasi3
3 files changed, 14 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bd92969b..edef87c2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,9 @@
- `ALT + S` Saves to clipboard and `~/Pictures/Screenshots/`
- Not all keyboards have `PrtScr` button
- `hyprshot.sh` is fast, simple, no system bell sound
+- Fixed start CLI apps from rofi like `htop`, `btop` being started with `xterm`
+ - This made the apps run in light mode with tiny fonts
+ - Now they are started with `kitty`
## v2.3.20
diff --git a/config/rofi/00-terminal.rasi b/config/rofi/00-terminal.rasi
new file mode 100644
index 00000000..ab98f4eb
--- /dev/null
+++ b/config/rofi/00-terminal.rasi
@@ -0,0 +1,8 @@
+/* Global Rofi runtime configuration overrides
+ * Ensures terminal-based apps launched from drun/run use kitty instead of xterm.
+ */
+configuration {
+ terminal: "kitty";
+ // keep run-shell explicit to avoid theme overrides changing behavior
+ run-shell-command: "{terminal} -e {cmd}";
+}
diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi
index 781e44cb..d05ae9c7 100644
--- a/config/rofi/config.rasi
+++ b/config/rofi/config.rasi
@@ -16,6 +16,9 @@
/* ---- Global Configuration Fonts ---- */
@import "~/.config/rofi/0-shared-fonts.rasi"
+/* Force kitty as terminal for Terminal=true apps and run-shell */
+@import "~/.config/rofi/00-terminal.rasi"
+
/* note: Main themes in ~/.config/rofi/themes */
/* You can manually change here or you can use rofi theme selector SUPER SHIFT E */
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage