Switch from kitty to ghostty terminal

This commit is contained in:
Sravan Balaji
2024-12-30 10:08:04 -05:00
parent 81bb55f185
commit 6200290c05
3 changed files with 8 additions and 8 deletions

View File

@@ -361,7 +361,7 @@ static const Rule rules[] = {
{ "pocket-casts-linux", NULL, 1 << 3, 0, -1 }, /* Start on ONLY tag "4" */ { "pocket-casts-linux", NULL, 1 << 3, 0, -1 }, /* Start on ONLY tag "4" */
{ "Spotify", 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" */ { "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" */ { "Emacs", NULL, 1 << 6, 0, -1 }, /* Start on ONLY tag "7" */
{ "steam", NULL, 1 << 7, 0, -1 }, /* Start on ONLY tag "8" */ { "steam", NULL, 1 << 7, 0, -1 }, /* Start on ONLY tag "8" */
{ "lutris", 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 *** Commands
#+BEGIN_SRC c :tangle config.h #+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 char *menucmd[] = { "rofi", "-show", "combi", NULL };
static const Key keys[] = { static const Key keys[] = {
@@ -762,7 +762,7 @@ button {
"interval": 5, "interval": 5,
"format": " {usage}%", "format": " {usage}%",
"tooltip": true, "tooltip": true,
"on-click-right": "kitty btop", "on-click-right": "ghostty -e btop",
}, },
#+END_SRC #+END_SRC
@@ -1015,7 +1015,7 @@ fi
"format": " {percentage}%", "format": " {percentage}%",
"tooltip": true, "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", "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 #+END_SRC

View File

@@ -61,7 +61,7 @@ static const Rule rules[] = {
{ "pocket-casts-linux", NULL, 1 << 3, 0, -1 }, /* Start on ONLY tag "4" */ { "pocket-casts-linux", NULL, 1 << 3, 0, -1 }, /* Start on ONLY tag "4" */
{ "Spotify", 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" */ { "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" */ { "Emacs", NULL, 1 << 6, 0, -1 }, /* Start on ONLY tag "7" */
{ "steam", NULL, 1 << 7, 0, -1 }, /* Start on ONLY tag "8" */ { "steam", NULL, 1 << 7, 0, -1 }, /* Start on ONLY tag "8" */
{ "lutris", 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 */ /* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } #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 char *menucmd[] = { "rofi", "-show", "combi", NULL };
static const Key keys[] = { static const Key keys[] = {

View File

@@ -84,7 +84,7 @@
"interval": 5, "interval": 5,
"format": " {usage}%", "format": " {usage}%",
"tooltip": true, "tooltip": true,
"on-click-right": "kitty btop", "on-click-right": "ghostty -e btop",
}, },
"clock": { "clock": {
@@ -185,7 +185,7 @@
"format": " {percentage}%", "format": " {percentage}%",
"tooltip": true, "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", "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": { "custom/media-playing-source": {