-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[i3ass] master command #200
Comments
same goes here, had written reply long time ago, but never posted it. A globalization of several main/important/most used commands in the i3ass suite seems to me a great idea. I would however, like to add (request) some functionality I think is very desirable. The new commands are dependent on the values of the commands should do the following:
proposal nr. 2 couuld pose a challenge maybe ; I think you'd have to introduce a new entry (obtained through however, you're the dev here, I don't think I'm up to the task of writing a compatible and functional script to handle above proposal functionalities... cheers, |
Sounds like great ideas! But I wonder in proposal nr.2 if it really is desirable to move a container to a not visible one. I imagine the action being triggered by a keybinding and used in a alt-tab kind of way. And using same example as you, lets say hours have passed between step two and three, and user have "forgotten" that the D container was originally moved from ,now hidden C, and B is visible, here i would more expect to next-move to B. And as you mention it will get tricky to keep track of container parents. Another edge case is if container order "has changed", like in example two, after step two, lets say container C has been made visible again (by other means), and then container A, then container A and C is swapped, then C is hidden. or something like that, it gets weird. But focus/move to next visible container should be "easy". Big thanks for this suggestion. Also, regarding wrapping the focus/movement. Without testing or anything, i wonder if it shouldn't follow this priority pattern (assuming horizontal layout AC + BD families):
Also, if the target container is not tabbed or stacked, i think this should respect the focus order of the target container, which i3viswiz focus left/right/up/down very counsiously doesn't respect. But it will not be difficult to do it here. On topic, i don't even remember what i did with the i3ass command, i haven't looked at this project in months. Its time to give i3ass some love, i think there is a new i3 release coming soon also so its good to get in the groove a bit. |
After reviewing the last couple of issues (#195 , #194, #182) , I realize that using i3ass can be quite confusing. Especially if the user has been following the project for a long time, since commands have merged in and out of each other, gotten renamed, options deprecated and renamed e.t.c.
Some functionality of i3ass is replacing core functions of i3. Like
i3viswiz left
replaces the builtinfocus left
,i3Kornhe left
replacesmove left
,i3fyra -a|--float
replacesfloating toggle
.i3fyra --move left
could be used instead ofi3Kornhe left
but it is not recommended.i3flip
replacefocus next
. also not the uppercase K and spelling of Kornhe, what does it even mean?I think it is to late, to rewrite and deprecate options of existing commands, but a good solution and enhancement would be something like this:
i3ass focus DIRECTION
i3viswiz DIRECTION
focus
i3ass focus next|prev
i3flip next|prev
focus
i3ass move DIRECTION
i3Kornhe DIRECTION
move
i3ass move next|prev
i3flip --move next|prev
move
i3ass toggle float
i3fyra --float
toggle float
i3ass toggle layout
i3fyra --layout redo
i3ass toggle zen
i3zen
i3ass layout LAYOUT
i3fyra --layout LAYOUT
i3ass layout toggle
i3fyra --layout redo
i3ass set i3fyra-workspace WORKSPACE
i3var set i3fyra_ws WORKSPACE
i3ass run [class=URxvt instance=termsmall] COMMAND
i3run --class URxvt --instance termsmall -- COMMAND
i3ass help focus|move|toggle|layout|set|run
this is just an example, but we would end up with a interface that is close to default i3, viswiz, flip and Kornhe becomes focus|move .
i3ass toggle zen
is longer than the originali3zen
but it is much clearer how it will work.i3list, i3get, i3king
The commands in the i3ass repo can be divided into three groups.
i3king is kind of independent and its commandline is straight forward, so it feels un-necessary to include it with the i3ass aliases. imo, only the first group + i3run and maybe later i3term should be included.
I don't think this will be difficult or complicated to setup. Another benefit, is that if a new way of using for instance
i3run
, like wheni3run --command
was deprecated in favor fori3run -- command
the UI fori3ass run [CRITERIA] COMMAND
will stay the same.@1ntronaut , what do you think about this?
The text was updated successfully, but these errors were encountered: