From 98ab66a035a01a1375ce19a28d27b87363a139ab Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Sat, 16 Dec 2023 19:14:24 +0100 Subject: [PATCH] wofi: ditch wofi in favor of fuzzel --- fuzzel/.config/fuzzel/fuzzel.ini | 94 ++++++++++++++++++++++++++++++++ hypr/.config/hypr/hyprland.conf | 10 ++-- wofi/.config/wofi/config | 5 -- wofi/.config/wofi/style.css | 44 --------------- 4 files changed, 99 insertions(+), 54 deletions(-) create mode 100644 fuzzel/.config/fuzzel/fuzzel.ini delete mode 100644 wofi/.config/wofi/config delete mode 100644 wofi/.config/wofi/style.css diff --git a/fuzzel/.config/fuzzel/fuzzel.ini b/fuzzel/.config/fuzzel/fuzzel.ini new file mode 100644 index 00000000..4b36d1f0 --- /dev/null +++ b/fuzzel/.config/fuzzel/fuzzel.ini @@ -0,0 +1,94 @@ +# output= +font=monospace:size=12 +# dpi-aware=auto +# prompt="> " +icon-theme=breeze-dark +# icons-enabled=yes +# fields=filename,name,generic +# password-character=* +# filter-desktop=no +# fuzzy=yes +# show-actions=no +terminal=foot -e +# launch-prefix= + +# anchor=center +# lines=15 +# width=30 +# tabs=8 +# horizontal-pad=40 +# vertical-pad=8 +# inner-pad=0 + +# image-size-ratio=0.5 + +# line-height= +line-height=20 +# letter-spacing=0 + +# layer = top +# exit-on-keyboard-focus-loss = yes + +[colors] +background=282828dd +text=d8d8d8ff +# match=cb4b16ff +selection=add8e6dd +selection-text=282828ff +# selection-match=cb4b16ff +border=595959ff + +[border] +width=2 +# radius=10 + +[dmenu] +# mode=text # text|index +# exit-immediately-if-empty=no + +[key-bindings] +# cancel=Escape Control+g +# execute=Return KP_Enter Control+y +# execute-or-next=Tab +# execute-input=Shift+Return Shift+KP_Enter +# cursor-left=Left Control+b +# cursor-left-word=Control+Left Mod1+b +# cursor-right=Right Control+f +# cursor-right-word=Control+Right Mod1+f +# cursor-home=Home Control+a +# cursor-end=End Control+e +# delete-prev=BackSpace +# delete-prev-word=Mod1+BackSpace Control+BackSpace +# delete-next=Delete KP_Delete Control+d +# delete-next-word=Mod1+d Control+Delete Control+KP_Delete +# delete-line=Control+k +# prev=Up Control+p +# prev-with-wrap=ISO_Left_Tab +# prev-page=Page_Up KP_Page_Up +# next=Down Control+n +# next-with-wrap=none +# next-page=Page_Down KP_Page_Down + +# custom-N: *dmenu mode only*. Like execute, but with a non-zero +# exit-code; custom-1 exits with code 10, custom-2 with 11, custom-3 +# with 12, and so on. + +# custom-1=Mod1+1 +# custom-2=Mod1+2 +# custom-3=Mod1+3 +# custom-4=Mod1+4 +# custom-5=Mod1+5 +# custom-6=Mod1+6 +# custom-7=Mod1+7 +# custom-8=Mod1+8 +# custom-9=Mod1+9 +# custom-10=Mod1+0 +# custom-11=Mod1+exclam +# custom-12=Mod1+at +# custom-13=Mod1+numbersign +# custom-14=Mod1+dollar +# custom-15=Mod1+percent +# custom-16=Mod1+dead_circumflex +# custom-17=Mod1+ampersand +# custom-18=Mod1+asterix +# custom-19=Mod1+parentleft diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index 5a37a145..d5e3d968 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -192,13 +192,13 @@ bind = $suremod, D, denywindowfromgroup, toggle bind = $suremod, V, togglefloating, # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainmod, Return, exec, foot -L /usr/bin/fish -bind = $mainmod Shift, Return, exec, foot -w 1280x800 -a popup -L /usr/bin/fish +bind = $mainmod, Return, exec, foot -L /usr/bin/fish -- +bind = $mainmod Shift, Return, exec, foot -w 1280x800 -a popup -L /usr/bin/fish -- bind = $mainmod, E, exec, dolphin bind = $mainmod, F, fullscreen,1 -bind = $mainmod, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy -bind = $mainmod, D, exec, wofi --term=foot --show drun -bind = $mainmod, R, exec, wofi --term=foot --show run +bind = $mainmod, V, exec, killall fuzzel || cliphist list | fuzzel -d -w 100 | cliphist decode | wl-copy +bind = $mainmod, D, exec, killall fuzzel || fuzzel +bind = $mainmod, R, exec, killall fuzzel || fuzzel --show run bind = $mainmod, P, pseudo, # dwindle bind = $mainmod, S, togglesplit, # dwindle bind = ALT SHIFT, F12, exec, ~/.config/hypr/scripts/gamemode.sh diff --git a/wofi/.config/wofi/config b/wofi/.config/wofi/config deleted file mode 100644 index b10bb627..00000000 --- a/wofi/.config/wofi/config +++ /dev/null @@ -1,5 +0,0 @@ -width=20% -allow_images=true -allow_markup=false -term=foot - diff --git a/wofi/.config/wofi/style.css b/wofi/.config/wofi/style.css deleted file mode 100644 index be48048c..00000000 --- a/wofi/.config/wofi/style.css +++ /dev/null @@ -1,44 +0,0 @@ -window { - margin: 5px; - border: 2px solid #595959; - background-color: rgba(43, 48, 59, 1); -} -#input { - margin: 8px; - border: 2px solid #585858; - color: #b8b8b8; - background-color: #282828; -} -#input:focus { - border-color: lightblue; -} -#outer-box { - margin: 5px; - border: 2px solid f8f8f8; - background-color: f8f8f8; -} -#inner-box { - margin: 5px; - border: 2px solid f8f8f8; - background-color: f8f8f8; -} -#scroll { - margin: 2px; - border: none; -} -#text { - margin: 5px; - border: none; - color: #d8d8d8; -} -#text:selected { - color: #282828; -} -#entry { - margin: 1px; - background-color: #rgba(23,28,39,0.3); -} -#entry:selected { - background-color: lightblue; -} - -- 2.51.2