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

Missing scripts #46

Closed
Selion05 opened this issue Dec 5, 2019 · 4 comments
Closed

Missing scripts #46

Selion05 opened this issue Dec 5, 2019 · 4 comments

Comments

@Selion05
Copy link

Selion05 commented Dec 5, 2019

source "/home/zordsdavini/.screenlayout/${SCREENS_COUNT}screens.sh"

I'm curious what's in those ${SCREENS_COUNT}screens.sh scripts. @zordsdavini Would you mind sharing them?

Either way I'm looking for way to setup qtile based on attached monitors. Most multiscreen setups depends on the hostname which doesn't work for me. Did I miss that in the docs?

@zordsdavini
Copy link
Contributor

yea, sure :) This is simple setup. You create your setup with xrandr (I did by arandr) and save it under 1screens.sh or 2screens.sh for one or two monitors. The sript will call one of them.
Today I don't use it any more. autorandr -c I use.
https://wiki.archlinux.org/index.php/Xrandr#Automatically_switch_configurations_with_autorandr

and today qtile config
https://github.com/zordsdavini/dotfiles/blob/master/.config/qtile/config.py

@Selion05
Copy link
Author

Selion05 commented Dec 6, 2019

nice thanks for sharing your new config! Now I know how to do it :)

As far as I understand, your new config doesn't depend on the number of monitors anymore. right?

Thanks!

@zordsdavini
Copy link
Contributor

yes. This is one time fix: plug all monitors, adjust by arandr, save with autorandr and call it on monitor change.

@zordsdavini
Copy link
Contributor

this can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants