manager: Add os variable since hostname on macos is weird
This commit is contained in:
@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user