From b940c68606fa8fae738eb40ee0854488cd5626a4 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sun, 5 Jan 2025 22:25:31 -0500 Subject: [PATCH] Replace ghostty with foot --- README.org | 11 +++++++---- config.h | 7 +++++-- waybar/config.jsonc | 4 ++-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/README.org b/README.org index 37d0a5a..5080677 100644 --- a/README.org +++ b/README.org @@ -357,11 +357,14 @@ static const Rule rules[] = { /* app_id title tags mask isfloating monitor */ { "thunderbird-esr", NULL, 1 << 0, 0, -1 }, /* Start on ONLY tag "1" */ { "Beeper", NULL, 1 << 1, 0, -1 }, /* Start on ONLY tag "2" */ + { "zoom", NULL, 1 << 1, 0, -1 }, /* Start on ONLY tag "2" */ + { "Signal", NULL, 1 << 1, 0, -1 }, /* Start on ONLY tag "2" */ + { "discord", NULL, 1 << 1, 0, -1 }, /* Start on ONLY tag "2" */ { "obsidian", NULL, 1 << 2, 0, -1 }, /* Start on ONLY tag "3" */ { "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" */ - { "com.mitchellh.ghostty", NULL, 1 << 5, 0, -1 }, /* Start on ONLY tag "6" */ + { "foot", 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 +497,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[] = { "ghostty", NULL }; +static const char *termcmd[] = { "foot", NULL }; static const char *menucmd[] = { "rofi", "-show", "combi", NULL }; static const Key keys[] = { @@ -762,7 +765,7 @@ button { "interval": 5, "format": " {usage}%", "tooltip": true, - "on-click-right": "ghostty -e btop", + "on-click-right": "foot btop", }, #+END_SRC @@ -1015,7 +1018,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": "ghostty -e btop", + "on-click-right": "foot btop", }, #+END_SRC diff --git a/config.h b/config.h index 8ef588b..2b0f1c8 100644 --- a/config.h +++ b/config.h @@ -57,11 +57,14 @@ static const Rule rules[] = { /* app_id title tags mask isfloating monitor */ { "thunderbird-esr", NULL, 1 << 0, 0, -1 }, /* Start on ONLY tag "1" */ { "Beeper", NULL, 1 << 1, 0, -1 }, /* Start on ONLY tag "2" */ + { "zoom", NULL, 1 << 1, 0, -1 }, /* Start on ONLY tag "2" */ + { "Signal", NULL, 1 << 1, 0, -1 }, /* Start on ONLY tag "2" */ + { "discord", NULL, 1 << 1, 0, -1 }, /* Start on ONLY tag "2" */ { "obsidian", NULL, 1 << 2, 0, -1 }, /* Start on ONLY tag "3" */ { "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" */ - { "com.mitchellh.ghostty", NULL, 1 << 5, 0, -1 }, /* Start on ONLY tag "6" */ + { "foot", 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 +173,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[] = { "ghostty", NULL }; +static const char *termcmd[] = { "foot", NULL }; static const char *menucmd[] = { "rofi", "-show", "combi", NULL }; static const Key keys[] = { diff --git a/waybar/config.jsonc b/waybar/config.jsonc index c883627..b22e906 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -84,7 +84,7 @@ "interval": 5, "format": " {usage}%", "tooltip": true, - "on-click-right": "ghostty -e btop", + "on-click-right": "foot 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": "ghostty -e btop", + "on-click-right": "foot btop", }, "custom/media-playing-source": {