linux-qubasis

linux oasis port as a qubes template

git clone https://9o.is/git/linux-qubasis.git

commit d90a67582446244cb07d7f9b8f8b355a2a46720a
parent 46b7751f56207f9967a6fdc6b6976f8c10ef213a
Author: Jul <jul@9o.is>
Date:   Fri,  8 Aug 2025 01:16:37 -0400

remove default session from dvtm bar

Diffstat:
Mpkg/dvtm/patches/0001-customize-personal-UI.patch | 14+++++++-------
Mpkg/dvtm/patches/0002-allow-focusing-left-right-fullscreen.patch | 4++--
Mpkg/dvtm/patches/0003-add-client-child-process-count-to-status-bar.patch | 4++--
3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/pkg/dvtm/patches/0001-customize-personal-UI.patch b/pkg/dvtm/patches/0001-customize-personal-UI.patch @@ -1,4 +1,4 @@ -From 2dcf1b2cc81822c9d3476118204534120b49f866 Mon Sep 17 00:00:00 2001 +From 176d3cb3131cc82afdc595a0c5877cc81fd7e292 Mon Sep 17 00:00:00 2001 From: Jul <jul@qh.is> Date: Sat, 19 Jul 2025 14:05:33 -0400 Subject: [PATCH 1/3] customize personal UI @@ -8,7 +8,7 @@ Subject: [PATCH 1/3] customize personal UI 1 file changed, 142 insertions(+), 90 deletions(-) diff --git a/dvtm.c b/dvtm.c -index 8382c83..7e59dce 100644 +index 8382c83..f367d3f 100644 --- a/dvtm.c +++ b/dvtm.c @@ -322,87 +322,154 @@ showbar(void) { @@ -141,19 +141,19 @@ index 8382c83..7e59dce 100644 + len_lhs += len_title; + + const char *abduco_env = getenv("ABDUCO_SESSION"); -+ if (abduco_env != NULL) { ++ if (abduco_env != NULL && strcmp(abduco_env, "default") != 0) { + unsigned int len_env = strlen(abduco_env) + 1; + move(bar.y, screen.w - len_rhs - len_env); -+ len_rhs += len_env; -+ printw("/%s", abduco_env); ++ len_rhs += len_env + 1; ++ printw("~%s", abduco_env); + } + + char hostname[256]; + if (gethostname(hostname, sizeof(hostname)) == 0) { -+ unsigned int len_hostname = strlen(hostname) + 1; ++ unsigned int len_hostname = strlen(hostname) + 2; + move(bar.y, screen.w - len_rhs - len_hostname); + len_rhs += len_hostname + 1; -+ printw("/%s", hostname); ++ printw("[%s]", hostname); + } + + unsigned int len_tags = 0; diff --git a/pkg/dvtm/patches/0002-allow-focusing-left-right-fullscreen.patch b/pkg/dvtm/patches/0002-allow-focusing-left-right-fullscreen.patch @@ -1,4 +1,4 @@ -From 37f3c1536a12579d74961cb812e0f66ef6375657 Mon Sep 17 00:00:00 2001 +From d01acf6a1be82d81217ff7455c07689edcd8f87e Mon Sep 17 00:00:00 2001 From: Jul <jul@qh.is> Date: Sat, 19 Jul 2025 20:49:03 -0400 Subject: [PATCH 2/3] allow focusing left/right fullscreen @@ -8,7 +8,7 @@ Subject: [PATCH 2/3] allow focusing left/right fullscreen 1 file changed, 2 deletions(-) diff --git a/dvtm.c b/dvtm.c -index 7e59dce..f13aa6c 100644 +index f367d3f..6e62fbc 100644 --- a/dvtm.c +++ b/dvtm.c @@ -746,8 +746,6 @@ static Client* diff --git a/pkg/dvtm/patches/0003-add-client-child-process-count-to-status-bar.patch b/pkg/dvtm/patches/0003-add-client-child-process-count-to-status-bar.patch @@ -1,4 +1,4 @@ -From fe0825c62e56577071ebb4fbb1c7432ad083e379 Mon Sep 17 00:00:00 2001 +From 9cab05ef89c66124832644ab847f85a53f2c5d3f Mon Sep 17 00:00:00 2001 From: Jul <jul@qh.is> Date: Wed, 30 Jul 2025 00:02:37 -0400 Subject: [PATCH 3/3] add client child process count to status bar @@ -8,7 +8,7 @@ Subject: [PATCH 3/3] add client child process count to status bar 1 file changed, 47 insertions(+) diff --git a/dvtm.c b/dvtm.c -index f13aa6c..4f08f62 100644 +index 6e62fbc..0ad2dba 100644 --- a/dvtm.c +++ b/dvtm.c @@ -33,6 +33,8 @@