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:54:06 -0500
commit3d2d1f62fdcf773bd5c14994c36da587bcc17d56 (patch)
tree3b3bf1e586762917f6892da5efd5c1cc51eeba33
parent291dcecd0feb1a33fd162588b0f8a986412ce45e (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 b3fc4c0..5c9d303 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -263,8 +263,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