[Question] How to specify monitor + workspaces

Issue #47 resolved
Rahul Garg created an issue

Hello, I was testing out dk on my linux machine and have a basic question.

I have two monitors: DP-0 and DP-1

I would like to have just a single workspace on DP-0 (ws-1) and 4 workspaces on DP-1 (ws-2, ws-3, ws-4, ws-5).

ws-1 on DP-0 never changes, i.e. it’s static (mostly for keeping discord/slack/obsidian all times)

on DP-1 I should be able to move between workspaces.

I was having a hard time figuring out the config necessary for this.

Appreciate any advice, thanks!

Comments (6)

  1. Nate Maia repo owner

    Sorry for the late response here. This should be doable, try this in your dkrc

        mon1='DisplayPort-0'
        mon2='DisplayPort-1'
        dkcmd set static_ws=true \
            ws=1  mon=$mon1 \
            ws=2  mon=$mon2 \
            ws=3  mon=$mon2 \
            ws=4  mon=$mon2 \
            ws=5  mon=$mon2 \
    

    Let me know if you run into any issues or need me to explain further

  2. Log in to comment