manager: Add os variable since hostname on macos is weird

This commit is contained in:
2024-11-04 17:07:50 +01:00
parent 9001a8f4bd
commit 27118bd9f3
7 changed files with 318 additions and 212 deletions

View File

@ -83,6 +83,7 @@ style = "Bold"
family = "SauceCodePro Nerd Font"
{% elif hostname == "vostok" %}
family = "Source Code Pro for Powerline"
{% elif os == "darwin" %}
{% else %}
family = "monospace"
{% end %}
@ -93,6 +94,7 @@ style = "Italic"
family = "SauceCodePro Nerd Font"
{% elif hostname == "vostok" %}
family = "Source Code Pro for Powerline"
{% elif os == "darwin" %}
{% else %}
family = "monospace"
{% end %}
@ -103,6 +105,7 @@ style = "Regular"
family = "SauceCodePro Nerd Font"
{% elif hostname == "vostok" %}
family = "Source Code Pro for Powerline"
{% elif os == "darwin" %}
{% else %}
family = "monospace"
{% end %}
@ -366,6 +369,8 @@ program = "nu"
[window]
{% if demo %}
opacity = 1.0
{% elif hostname == "corona" || hostname == "corona.local" %}
opacity = 0.95
{% else %}
opacity = 0.90
{% end %}