mirror of
https://github.com/elkowar/dots-of-war.git
synced 2025-02-20 04:12:14 +00:00
fix mac
This commit is contained in:
parent
1ef84dc9f2
commit
946e01cfee
1 changed files with 6 additions and 5 deletions
11
yolk.rhai
11
yolk.rhai
|
@ -1,17 +1,18 @@
|
||||||
export const device = #{
|
export const device = #{
|
||||||
thinkix: SYSTEM.hostname == "thinkix",
|
thinkix: SYSTEM.hostname == "thinkix",
|
||||||
desktop: SYSTEM.hostname == "fedora.fritz.box" ||SYSTEM.hostname == "fedora",
|
desktop: SYSTEM.hostname == "fedora.fritz.box" || SYSTEM.hostname == "fedora",
|
||||||
laptop: SYSTEM.hostname == "thinkix" || SYSTEM.hostname == "frissnix",
|
laptop: SYSTEM.hostname == "thinkix"
|
||||||
|
|| SYSTEM.hostname == "frissnix"
|
||||||
|
|| SYSTEM.device_name == "Matthiass MacBook Pro",
|
||||||
|
|
||||||
linux: SYSTEM.platform == "Linux",
|
linux: SYSTEM.platform == "Linux",
|
||||||
windows: SYSTEM.platform == "Windows",
|
windows: SYSTEM.platform == "Windows",
|
||||||
|
|
||||||
macbook: "Matthiass-MacBook-Pro" in SYSTEM.hostname,
|
macbook: SYSTEM.device_name == "Matthiass MacBook Pro",
|
||||||
kenbun: "Matthiass-MacBook-Pro" in SYSTEM.hostname,
|
kenbun: SYSTEM.device_name == "Matthiass MacBook Pro",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private fn merge_into_home(enabled, templates) {
|
private fn merge_into_home(enabled, templates) {
|
||||||
#{ enabled: enabled, targets: "~", strategy: "merge", templates: templates }
|
#{ enabled: enabled, targets: "~", strategy: "merge", templates: templates }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue