diff options
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | config/rofi/00-terminal.rasi | 8 | ||||
| -rw-r--r-- | config/rofi/config.rasi | 3 |
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 */ |
