[i34wm][i3ass] i3get/i3list integration [request] #232

Closed
opened 2025-12-27 16:35:15 +00:00 by 1ntronaut · 4 comments
1ntronaut commented 2025-12-27 16:35:15 +00:00 (Migrated from github.com)

Dear @budRich,

Maybe it's for sanity, maybe it's just me nitpicking, but I just thought of this:

Please give 'monocle mode' a 'standard i3fyra' array code, as in:

/usr/bin/i3list (( line 419 ))

case "fullscreen_mode"

/usr/bin/i3get (( line 186-192 ))

        case "fullscreen_mode"
          k = "fullscreen"
          v = ac[target_container_id]["fullscreen mode"]
          out = gensub(/%s/,v,"g",format)
          out = gensub(/%k/,v,"g",format
          printf ("%s", out)
        break

so that if I type "i3list" there'd be an entry for "monocle or not".. my suggestion is to use [AWM] (active window monocled] = 1 or 0

for example

i3list output:

i3list[xxx]=xxx
i3list[AWM]=0
i3list[xxx]=xxx

Dear @budRich, Maybe it's for sanity, maybe it's just me nitpicking, but I just thought of this: Please give 'monocle mode' a 'standard i3fyra' array code, as in: > /usr/bin/i3list (( line 419 )) ```bash case "fullscreen_mode" ``` > /usr/bin/i3get (( line 186-192 )) ```bash case "fullscreen_mode" k = "fullscreen" v = ac[target_container_id]["fullscreen mode"] out = gensub(/%s/,v,"g",format) out = gensub(/%k/,v,"g",format printf ("%s", out) break ``` so that if I type "i3list" there'd be an entry for "monocle or not".. my suggestion is to use [AWM] (active window monocled] = 1 or 0 for example `i3list` output: i3list[xxx]=xxx i3list[AWM]=0 i3list[xxx]=xxx
budRich commented 2025-12-27 17:12:24 +00:00 (Migrated from github.com)

yeah, that makes sense and is not difficult to do.

yeah, that makes sense and is not difficult to do.
budRich commented 2025-12-27 18:41:11 +00:00 (Migrated from github.com)

i settled for ACM and TCM for active/target container monocled. And i3get has it with: i3get --print M

i settled for ACM and TCM for active/target container monocled. And i3get has it with: `i3get --print M`
budRich commented 2025-12-27 18:44:23 +00:00 (Migrated from github.com)

everytime i look at i3list source code i wonder how much work and how much faster it would be if i rewrote it in go..

everytime i look at i3list source code i wonder how much work and how much faster it would be if i rewrote it in go..
1ntronaut commented 2025-12-27 19:30:54 +00:00 (Migrated from github.com)

everytime i look at i3list source code i wonder how much work and how much faster it would be if i rewrote it in go..

All things Linux on my end are, if it comes to it, ultimately because of your videos.

Let's say I'd need to fully flip and career-switch;
wouldn't I have to rust it up?

> everytime i look at i3list source code i wonder how much work and how much faster it would be if i rewrote it in go.. All things Linux on my end are, if it comes to it, ultimately because of your videos. Let's say I'd need to fully flip and career-switch; wouldn't I have to _rust_ it up?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bud/i3ass#232
No description provided.