summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-07-26 03:54:06 -0500
committerzachir <zachir@librem.one>2023-07-26 03:56:16 -0500
commitbada6ae699540b949c2755c2e127b228a2f6b98a (patch)
tree60810d0d7522534fe5d1105c8e17d690b8b73f9e
parent34dcb8ffa22f836a86a4b80b508b66234722ab44 (diff)
Add tofi vertical and use for menu
-rw-r--r--hypr/hyprland.conf4
-rw-r--r--tofi/themes/dmenu_vertical21
2 files changed, 23 insertions, 2 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index f118d75..f004eb9 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -264,8 +264,8 @@ submap = reset
#}}}
#{{{ Menu bindings
-bind = $mainMod, R, exec, exec j4-dmenu-desktop --dmenu="bemenu -i -l 10 -p \"Run:\""
-bind = $mainMod, D, exec, exec bemenu-run -i -l 15 -p "Run:"
+bind = $mainMod, R, exec, exec tofi-drun -c ~/.config/tofi/themes/dmenu_vertical --prompt-text "Run:"
+bind = $mainMod, D, exec, exec tofi-run -c ~/.config/tofi/themes/dmenu_vertical --prompt-text "Run:"
bind = $mainMod $secdMod, Q, exec, qbc
bind = $mainMod $secdMod, W, exec, lwc
bind = $mainMod $secdMod, E, exec, mbc
diff --git a/tofi/themes/dmenu_vertical b/tofi/themes/dmenu_vertical
new file mode 100644
index 0000000..5c7af8b
--- /dev/null
+++ b/tofi/themes/dmenu_vertical
@@ -0,0 +1,21 @@
+include = "colors"
+
+hidden-character = "*"
+anchor = top
+width = 100%
+height = 600
+horizontal = false
+font-size = 24
+prompt-text = ""
+font = mononoki Nerd Font Mono
+outline-width = 0
+border-width = 0
+min-input-width = 424
+result-spacing = 0
+padding-top = 0
+padding-bottom = 0
+padding-left = 0
+padding-right = 0
+history = false
+selection-background-padding = 0
+require-match=false