d3b7ee16cd6cc817d1d2753dab0a4cf652545352

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Use fuzzel instead of rofi

Diff

This diff is truncated to protect this page.

  1diff --git a/dot_config/fuzzel/fuzzel.ini b/dot_config/fuzzel/fuzzel.ini
  2new file mode 100644
  3index 0000000000000000000000000000000000000000..e2ffb9b8cf10fbde0eb5ed854675f3c06abfdf02
  4--- /dev/null
  5+++ b/dot_config/fuzzel/fuzzel.ini
  6@@ -0,0 +1,117 @@
  7+# output=<not set>
  8+font=MonoFont:size=15
  9+# dpi-aware=auto
 10+# use-bold=no
 11+# prompt="> "
 12+# placeholder=
 13+# icon-theme=hicolor
 14+# icons-enabled=yes
 15+# hide-before-typing=no
 16+# fields=filename,name,generic
 17+# password-character=*
 18+# filter-desktop=no
 19+# match-mode=fzf
 20+# sort-result=yes
 21+match-counter=yes
 22+# delayed-filter-ms=300
 23+# delayed-filter-limit=20000
 24+# show-actions=no
 25+# terminal=$TERMINAL -e  # Note: you cannot actually use environment variables here
 26+# launch-prefix=<not set>
 27+# list-executables-in-path=no
 28+
 29+# anchor=center
 30+# x-margin=0
 31+# y-margin=0
 32+# lines=15
 33+width=80
 34+# tabs=8
 35+horizontal-pad=20
 36+vertical-pad=12
 37+# inner-pad=0
 38+
 39+# image-size-ratio=0.5
 40+
 41+# line-height=<use font metrics>
 42+# letter-spacing=0
 43+
 44+# layer=overlay
 45+# keyboard-focus=on-demand
 46+# exit-on-keyboard-focus-loss=yes
 47+
 48+# cache=<not set>
 49+
 50+# render-workers=<number of logical CPUs>
 51+# match-workers=<number of logical CPUs>
 52+
 53+[colors]
 54+background=1d2021ff
 55+text=7c6f64ff
 56+prompt=458588ff
 57+placeholder=93a1a1ff
 58+input=458588ff
 59+match=af3a03ff
 60+selection=3c3836ff
 61+selection-text=928374ff
 62+selection-match=af3a03ff
 63+counter=7c6f64ff
 64+border=002b36ff
 65+
 66+[border]
 67+width=0
 68+radius=5
 69+
 70+[dmenu]
 71+mode=text
 72+# exit-immediately-if-empty=no
 73+
 74+[key-bindings]
 75+# cancel=Escape Control+g Control+c Control+bracketleft
 76+# execute=Return KP_Enter Control+y
 77+# execute-or-next=Tab
 78+# execute-input=Shift+Return Shift+KP_Enter
 79+# cursor-left=Left Control+b
 80+# cursor-left-word=Control+Left Mod1+b
 81+# cursor-right=Right Control+f
 82+# cursor-right-word=Control+Right Mod1+f
 83+# cursor-home=Home Control+a
 84+# cursor-end=End Control+e
 85+# delete-prev=BackSpace Control+h
 86+# delete-prev-word=Mod1+BackSpace Control+BackSpace Control+w
 87+# delete-line-backward=Control+u
 88+# delete-next=Delete KP_Delete Control+d
 89+# delete-next-word=Mod1+d Control+Delete Control+KP_Delete
 90+# delete-line-forward=Control+k
 91+# prev=Up Control+p
 92+# prev-with-wrap=ISO_Left_Tab
 93+# prev-page=Page_Up KP_Page_Up
 94+# next=Down Control+n
 95+# next-with-wrap=none
 96+# next-page=Page_Down KP_Page_Down
 97+# expunge=Shift+Delete
 98+# clipboard-paste=Control+v XF86Paste
 99+# primary-paste=Shift+Insert Shift+KP_Insert
100+
101+# custom-N: *dmenu mode only*. Like execute, but with a non-zero
102+# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3
103+# with 12, and so on.
104+
105+# custom-1=Mod1+1
106diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl
107index 8ee211fc1eb1a7483f2044e8a4bef4690bbe2659..431ee06f3c4632a911c38e3d10137c8010fa7907 100644
108--- a/dot_config/hypr/hyprland.conf.tmpl
109+++ b/dot_config/hypr/hyprland.conf.tmpl
110@@ -10,7 +10,7 @@ $inactive_bg = rgba(282828ff)
111 {{ end }}
112 # https://wiki.hyprland.org/Configuring/Variables/
113 $terminal = com.mitchellh.ghostty.desktop
114-$menu = rofi -show drun -run-command "uwsm app -- {cmd}"
115+$menu = fuzzel "--launch-prefix=uwsm app --"
116 $animation_speed = 1.5
117 
118 exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
119@@ -197,6 +197,7 @@ bind = $mod SHIFT, Q, hy3:killactive,
120 bind = $mod SHIFT, X, exec, uwsm stop
121 bind = $mod, Space, exec, $menu
122 bind = $mod, Backspace, exec, $menu
123+bind = $mod, d, exec, rofi -show drun -run-command "uwsm app -- {cmd}"
124 bind = $mod, Return, exec, uwsm app -- $terminal
125 bind = $mod, J, exec, rofimoji --clipboarder wl-copy --action copy --skin-tone neutral
126