From 6200290c05ec5161d6fc076bde893e82eca79363 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Mon, 30 Dec 2024 10:08:04 -0500 Subject: [PATCH] Switch from kitty to ghostty terminal --- README.org | 8 ++++---- config.h | 4 ++-- waybar/config.jsonc | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.org b/README.org index fea0e3c..37d0a5a 100644 --- a/README.org +++ b/README.org @@ -361,7 +361,7 @@ static const Rule rules[] = { { "pocket-casts-linux", NULL, 1 << 3, 0, -1 }, /* Start on ONLY tag "4" */ { "Spotify", NULL, 1 << 3, 0, -1 }, /* Start on ONLY tag "4" */ { "Vivaldi-stable", NULL, 1 << 4, 0, -1 }, /* Start on ONLY tag "5" */ - { "kitty", NULL, 1 << 5, 0, -1 }, /* Start on ONLY tag "6" */ + { "com.mitchellh.ghostty", NULL, 1 << 5, 0, -1 }, /* Start on ONLY tag "6" */ { "Emacs", NULL, 1 << 6, 0, -1 }, /* Start on ONLY tag "7" */ { "steam", NULL, 1 << 7, 0, -1 }, /* Start on ONLY tag "8" */ { "lutris", NULL, 1 << 7, 0, -1 }, /* Start on ONLY tag "8" */ @@ -494,7 +494,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA *** Commands #+BEGIN_SRC c :tangle config.h -static const char *termcmd[] = { "kitty", NULL }; +static const char *termcmd[] = { "ghostty", NULL }; static const char *menucmd[] = { "rofi", "-show", "combi", NULL }; static const Key keys[] = { @@ -762,7 +762,7 @@ button { "interval": 5, "format": " {usage}%", "tooltip": true, - "on-click-right": "kitty btop", + "on-click-right": "ghostty -e btop", }, #+END_SRC @@ -1015,7 +1015,7 @@ fi "format": " {percentage}%", "tooltip": true, "tooltip-format": "RAM:\n\tUsed: {used} GiB ({percentage}%)\n\tFree: {avail} GiB\n\tTotal: {total} GiB\nSwap:\n\tUsed: {swapUsed} GiB ({swapPercentage}%)\n\tFree: {swapAvail} GiB\n\tTotal: {swapTotal} GiB", - "on-click-right": "kitty btop", + "on-click-right": "ghostty -e btop", }, #+END_SRC diff --git a/config.h b/config.h index 7c82d4a..8ef588b 100644 --- a/config.h +++ b/config.h @@ -61,7 +61,7 @@ static const Rule rules[] = { { "pocket-casts-linux", NULL, 1 << 3, 0, -1 }, /* Start on ONLY tag "4" */ { "Spotify", NULL, 1 << 3, 0, -1 }, /* Start on ONLY tag "4" */ { "Vivaldi-stable", NULL, 1 << 4, 0, -1 }, /* Start on ONLY tag "5" */ - { "kitty", NULL, 1 << 5, 0, -1 }, /* Start on ONLY tag "6" */ + { "com.mitchellh.ghostty", NULL, 1 << 5, 0, -1 }, /* Start on ONLY tag "6" */ { "Emacs", NULL, 1 << 6, 0, -1 }, /* Start on ONLY tag "7" */ { "steam", NULL, 1 << 7, 0, -1 }, /* Start on ONLY tag "8" */ { "lutris", NULL, 1 << 7, 0, -1 }, /* Start on ONLY tag "8" */ @@ -170,7 +170,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } -static const char *termcmd[] = { "kitty", NULL }; +static const char *termcmd[] = { "ghostty", NULL }; static const char *menucmd[] = { "rofi", "-show", "combi", NULL }; static const Key keys[] = { diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 42109a5..c883627 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -84,7 +84,7 @@ "interval": 5, "format": " {usage}%", "tooltip": true, - "on-click-right": "kitty btop", + "on-click-right": "ghostty -e btop", }, "clock": { @@ -185,7 +185,7 @@ "format": " {percentage}%", "tooltip": true, "tooltip-format": "RAM:\n\tUsed: {used} GiB ({percentage}%)\n\tFree: {avail} GiB\n\tTotal: {total} GiB\nSwap:\n\tUsed: {swapUsed} GiB ({swapPercentage}%)\n\tFree: {swapAvail} GiB\n\tTotal: {swapTotal} GiB", - "on-click-right": "kitty btop", + "on-click-right": "ghostty -e btop", }, "custom/media-playing-source": {