diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-07-23 21:34:59 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-07-23 21:34:59 +0200 |
commit | 6b16988ecd547878e461c557448fb110315299a5 (patch) | |
tree | 8b112b9ad9ef7000ae9695283ba608bf2fa2cc3a | |
parent | cc5ca3a527748a065834e33e52eee6d3a98aa0f0 (diff) |
tweak rofi for laptop
-rw-r--r-- | .config/rofi/config.rasi##template | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/.config/rofi/config.rasi##template b/.config/rofi/config.rasi##template index 829d602..6fc4c28 100644 --- a/.config/rofi/config.rasi##template +++ b/.config/rofi/config.rasi##template @@ -1,6 +1,10 @@ configuration { modi: "drun,run"; +{% if yadm.hostname == "thoncc" %} + font: "JetBrainsMono Nerd Font 7.5"; +{% else %} font: "JetBrainsMono Nerd Font 9"; +{% endif %} matching: "fuzzy"; separator-style: "none"; hide-scrollbar: true; @@ -14,14 +18,15 @@ configuration { background-color: ${background}; text-color: ${foreground}; spacing: 0; + line-padding: 0; + line-margin: 0; {% if yadm.hostname == "thoncc" %} - width: 400; + width: 340; + --padding: 6px; {% else %} width: 450; -{% endif %} - line-padding: 0; - line-margin: 0; --padding: 8px; +{% endif %} } inputbar { |