Skip to content
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

requested feature (switcher mode) show tiling for all open windows #46

Open
ahmeteid7 opened this issue Mar 22, 2024 · 5 comments
Open
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@ahmeteid7
Copy link

can cortile has feature that show all open windows(active and not active) as switcher app.
i know he do tiling for the raise window, what if i want to have(tiling show) which show the minimize windows too as switcher mode like skippy-xd and xfcedashboard

@leukipp leukipp self-assigned this Apr 5, 2024
@leukipp leukipp added question Further information is requested enhancement New feature or request labels Apr 5, 2024
@leukipp
Copy link
Owner

leukipp commented Apr 5, 2024

can cortile has feature that show all open windows(active and not active) as switcher app.

I do not fully understand the question, most switchers can be configured to also show inactive (minimized) windows.

...i want to have(tiling show) which show the minimize windows too as switcher mode like skippy-xd and xfcedashboard

Does anything speak against using the build in window switcher, or do you mean in cases where no window switcher is integrated in the system?

@ahmeteid7
Copy link
Author

ahmeteid7 commented Apr 5, 2024

there is no conflict bw cortile and the switchers apps, it's good.
i mean i want not use them during using cortile, so i disabled them when cortile running. and i want to use cortile to show all opened apps: so i used that command to show all opened windows during cortile:
wmctrl -l | awk '{print $1}' | xargs -I {} wmctrl -ia {}
it's good, but cortile doesn't show all opend windows,because i think the default of it is 3 slaves and one master, so i can change that default to show all opened windows?
so the script that show all opened windows will be like that:

slaves and masters= the number of opened windows;
wmctrl -l | awk '{print $1}' | xargs -I {} wmctrl -ia {}

@leukipp
Copy link
Owner

leukipp commented Apr 5, 2024

it's good, but cortile doesn't show all opend windows,because i think the default of it is 3 slaves and one master, so i can change that default to show all opened windows?

Since v.2.4.0 the last number of maximum windows is preserved, so you could theoretically set (e.g.),

# Maximum number of allowed master windows (0 - 5).
window_masters_max = 5

# Maximum number of allowed slave windows (1 - 5).
window_slaves_max = 5

then use socket communication to increase masters/slaves before calling wmctrl -l | awk '{print $1}' | xargs -I {} wmctrl -ia {}. Nevertheless, there is a limit to the number of windows displayed, and as the number get larger the arrangement will become quite lumpy.

In general, minimized windows are not known (tracked) by cortile at all. All other open windows are tracked, but may be invisible, because they are stacked behind other slaves. Raising them to front can be done by using:

  • build in taskbars/panels that show opened windows
  • build in or external window switcher applications
  • cortile next/previous window shortcuts:
Keys Description
Ctrl+Shift+KP_2 Focus next window
Ctrl+Shift+KP_8 Focus previous window

@ahmeteid7
Copy link
Author

# Maximum number of allowed master windows (0 - 5).
window_masters_max = 5

# Maximum number of allowed slave windows (1 - 5).
window_slaves_max = 5

can set that with script?

@leukipp
Copy link
Owner

leukipp commented Apr 5, 2024

Those values are the maximum values (upper bound)

# Maximum number of allowed master windows (0 - 5).
window_masters_max = 5

# Maximum number of allowed slave windows (1 - 5).
window_slaves_max = 5

in case you press

Keys Description
Ctrl+Shift+KP_Add Increase number of master windows
Ctrl+Shift+Plus Increase number of maximum slave windows

several times.

You can set that to any value you want (in this case maximal 10 windows will be visible, no matter what). The configuration is applied on app startup and you can`t change it afterwards.

When cortile is running you can still decrement/increment the current max window size via keyboard shortcuts/hot corner/tray icon/etc. When using socket communication this would be,

echo '{"Action":"master_increase"}' | nc -U /tmp/cortile.sock.in
echo '{"Action":"slave_increase"}' | nc -U /tmp/cortile.sock.in

but I'm still not sure if this is what you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants