Replace ghostty with foot
This commit is contained in:
11
README.org
11
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
|
||||
|
||||
|
7
config.h
7
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[] = {
|
||||
|
@@ -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": {
|
||||
|
Reference in New Issue
Block a user