mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 14:13:53 +01:00
22 lines
3.0 KiB
Django/Jinja
22 lines
3.0 KiB
Django/Jinja
profile {
|
|
output "{{ (displays | selectattr('name', 'eq', 'screen3')).0.id }}" position {{ (displays | selectattr('name', 'eq', 'screen3')).0.x }},{{ (displays | selectattr('name', 'eq', 'screen3')).0.y }} mode {{ (displays | selectattr('name', 'eq', 'screen3')).0.mode }} scale {{ (displays | selectattr('name', 'eq', 'screen3')).0.scale }}
|
|
output "{{ (displays | selectattr('name', 'eq', 'screen2')).0.id }}" position {{ (displays | selectattr('name', 'eq', 'screen2')).0.x }},{{ (displays | selectattr('name', 'eq', 'screen2')).0.y }} mode {{ (displays | selectattr('name', 'eq', 'screen2')).0.mode }} scale {{ (displays | selectattr('name', 'eq', 'screen2')).0.scale }}
|
|
output "{{ (displays | selectattr('name', 'eq', 'screen1')).0.id }}" position {{ (displays | selectattr('name', 'eq', 'screen1')).0.x }},{{ (displays | selectattr('name', 'eq', 'screen1')).0.y }} mode {{ (displays | selectattr('name', 'eq', 'screen1')).0.mode }} scale {{ (displays | selectattr('name', 'eq', 'screen1')).0.scale }}
|
|
output "{{ (displays | selectattr('name', 'eq', 'laptop')).0.id }}" position {{ (displays | selectattr('name', 'eq', 'laptop')).0.x }},{{ (displays | selectattr('name', 'eq', 'laptop')).0.y }} mode {{ (displays | selectattr('name', 'eq', 'laptop')).0.mode }} scale {{ (displays | selectattr('name', 'eq', 'laptop')).0.scale }}
|
|
}
|
|
|
|
profile {
|
|
output "{{ (displays | selectattr('name', 'eq', 'screen2')).0.id }}" disable
|
|
output "{{ (displays | selectattr('name', 'eq', 'screen1')).0.id }}" position {{ (displays | selectattr('name', 'eq', 'screen1')).0.x }},{{ (displays | selectattr('name', 'eq', 'screen1')).0.y }} mode {{ (displays | selectattr('name', 'eq', 'screen1')).0.mode }} scale {{ (displays | selectattr('name', 'eq', 'screen1')).0.scale }}
|
|
output "{{ (displays | selectattr('name', 'eq', 'laptop')).0.id }}" position {{ (displays | selectattr('name', 'eq', 'laptop')).0.x }},{{ (displays | selectattr('name', 'eq', 'laptop')).0.y }} mode {{ (displays | selectattr('name', 'eq', 'laptop')).0.mode }} scale {{ (displays | selectattr('name', 'eq', 'laptop')).0.scale }}
|
|
}
|
|
|
|
profile {
|
|
output "{{ (displays | selectattr('name', 'eq', 'screen1')).0.id }}" position {{ (displays | selectattr('name', 'eq', 'screen1')).0.x }},{{ (displays | selectattr('name', 'eq', 'screen1')).0.y }} mode {{ (displays | selectattr('name', 'eq', 'screen1')).0.mode }} scale {{ (displays | selectattr('name', 'eq', 'screen1')).0.scale }}
|
|
output "{{ (displays | selectattr('name', 'eq', 'laptop')).0.id }}" position {{ (displays | selectattr('name', 'eq', 'laptop')).0.x }},{{ (displays | selectattr('name', 'eq', 'laptop')).0.y }} mode {{ (displays | selectattr('name', 'eq', 'laptop')).0.mode }} scale {{ (displays | selectattr('name', 'eq', 'laptop')).0.scale }}
|
|
}
|
|
|
|
profile {
|
|
output "{{ (displays | selectattr('name', 'eq', 'laptop')).0.id }}" position 0,0 mode {{ (displays | selectattr('name', 'eq', 'laptop')).0.mode }} scale {{ (displays | selectattr('name', 'eq', 'laptop')).0.scale }}
|
|
}
|