Cycle through available layouts
Hi, I am on Arch and I use window managers for quite some time now. I came across dkwm though Arcolinux and took an immediate liking.
One thing I liked on other wms - and couldn’t figure out on dk - is the ability to cycle through the available layouts.
Is there a keyboard shortcut?
Many thanks …
Comments (6)
-
repo owner -
repo owner I did write a script but it was easier to just make a new command, this is solved in 358a6af
You can do the following
dkcmd set layout cycle
-
repo owner - changed status to open
-
repo owner - changed status to resolved
-
reporter Cool, working greatly, many thanks … I wonder how one would create a script for dk or any wm? I have no idea where I would start or which language I would use. Any suggestions?
-
repo owner If you use a terminal to run commands you’re basically already doing it. I would suggest learning shell (bash specifically), it’s what I started with years ago and it was great.
Start small and simple, I did backups, file conversion, package manager commands, video recording commands, etc. I still use some of my very early scripts
As far as scripting a WM its mostly the same, I can’t speak for others but in dk all the control is done through commands and you can get the current state with
dkcmd status type=full num=1
Depends on what you want to accomplish, there’s some examples for scripting dk in
/usr/share/doc/dk/scripts
if installed through a package manager, or/usr/local/share/doc/dk/scripts
if installed manually.If you do have an idea of what you want to do I can help point you in the right direction.
- Log in to comment
There's nothing built in to do this but it could be scripted fairly easily. I'm at work but I'll post something this evening.