From 9fa72d20db8ac1e58f2b7e954854606ff0dd09a3 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 4 May 2023 20:16:23 +0200 Subject: added tofi colors generation --- bin/guiscripts/newwal | 17 +++++++++++++++++ config/hyprland/tofi/config | 2 +- config/hyprland/tofi/themes/base16 | 25 +++++++++++++++++++++++++ config/hyprland/tofi/themes/colors | 14 ++++++++++++++ 4 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 config/hyprland/tofi/themes/base16 create mode 100644 config/hyprland/tofi/themes/colors diff --git a/bin/guiscripts/newwal b/bin/guiscripts/newwal index 2bb2df2..5c99620 100755 --- a/bin/guiscripts/newwal +++ b/bin/guiscripts/newwal @@ -48,6 +48,23 @@ bright6 = $color14 bright7 = $color15 EOF +cat < $HOME/.config/tofi/themes/colors +# tofi +text-color = $foreground +prompt-color = $color4 +placeholder-color = $color12 +input-color = $foreground +default-result-color = $color6 +selection-color = $color8 +selection-match-color = $color7 + +background-color = ${background}f0 + +outline-color = $color4 + +border-color = $color6 +EOF + # waybar ln -sf "$walcache/colors-waybar.css" "$HOME/.config/waybar/colors.css" pkill waybar diff --git a/config/hyprland/tofi/config b/config/hyprland/tofi/config index 845f2a4..75daa23 120000 --- a/config/hyprland/tofi/config +++ b/config/hyprland/tofi/config @@ -1 +1 @@ -/home/aluc/.config/tofi/themes/nord \ No newline at end of file +/home/aluc/.config/tofi/themes/base16 \ No newline at end of file diff --git a/config/hyprland/tofi/themes/base16 b/config/hyprland/tofi/themes/base16 new file mode 100644 index 0000000..b18efb4 --- /dev/null +++ b/config/hyprland/tofi/themes/base16 @@ -0,0 +1,25 @@ +### Font +include=themes/colors +font = monospace bold +font-size = 12 + +prompt-text = "" +prompt-padding = 0 +placeholder-text = "..." + +width = 20% +height = 20% +outline-width = 0 +border-width = 2 +corner-radius = 26 + +padding-top = 0 +padding-bottom = 0 +padding-left = 0 +# padding-left = 7% +padding-right = 0 + +matching-algorithm = prefix +require-match = false +auto-accept-single = true +hidden-character = "" diff --git a/config/hyprland/tofi/themes/colors b/config/hyprland/tofi/themes/colors new file mode 100644 index 0000000..3c35fc2 --- /dev/null +++ b/config/hyprland/tofi/themes/colors @@ -0,0 +1,14 @@ +# tofi +text-color = #d1dae6 +prompt-color = #999CA9 +placeholder-color = #999CA9 +input-color = #d1dae6 +default-result-color = #9CB3D4 +selection-color = #9298a1 +selection-match-color = #d1dae6 + +background-color = #0f1114f0 + +outline-color = #999CA9 + +border-color = #9CB3D4 -- cgit v1.2.3