mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 16:59:43 +01:00
daaf0c2f8d
- Add `services.kanshi.profiles.<name>.outputs.*.alias` to support new alias directive from kanshi [1]. - Add an assertion to reject aliases not on global scope, which are not allowed on kanshi [2]. - Add a new test to check alias rejection, `alias-assertion`. - Add relevant coverage by modifying the existing "new-configuration" test. - Kanshi also doesn't allow wildcards on global scope [3], correct the faulty test case. [1]:1ed86ce523
[2]:1605f7c813/item/doc/kanshi.5.scd (L78)
[3]:1605f7c813/item/doc/kanshi.5.scd (L80)
19 lines
457 B
Text
19 lines
457 B
Text
include "path/to/included/file"
|
|
output "Iiyama North America PLE2483H-DP" alias $iiyama
|
|
profile nomad {
|
|
output "eDP-1" enable
|
|
}
|
|
|
|
profile desktop {
|
|
output "eDP-1" disable
|
|
output "$iiyama" enable position 0,0
|
|
output "Iiyama North America PLE2483H-DP 1158765348486" enable mode 1920x1080 position 1920,0 scale 2.100000 transform flipped-270
|
|
exec echo "1 two 3"
|
|
exec echo "4 five 6"
|
|
}
|
|
|
|
profile {
|
|
output "LVDS-1" enable
|
|
exec echo "7 eight 9"
|
|
}
|
|
|