]> Freerunner's - dotfiles.git/commitdiff
wofi: ditch wofi in favor of fuzzel
authorAndre Ramnitz <tux.rising@gmail.com>
Sat, 16 Dec 2023 18:14:24 +0000 (19:14 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 16:18:52 +0000 (18:18 +0200)
fuzzel/.config/fuzzel/fuzzel.ini [new file with mode: 0644]
hypr/.config/hypr/hyprland.conf
wofi/.config/wofi/config [deleted file]
wofi/.config/wofi/style.css [deleted file]

diff --git a/fuzzel/.config/fuzzel/fuzzel.ini b/fuzzel/.config/fuzzel/fuzzel.ini
new file mode 100644 (file)
index 0000000..4b36d1f
--- /dev/null
@@ -0,0 +1,94 @@
+# output=<not set>
+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=<not set>
+
+# anchor=center
+# lines=15
+# width=30
+# tabs=8
+# horizontal-pad=40
+# vertical-pad=8
+# inner-pad=0
+
+# image-size-ratio=0.5
+
+# line-height=<use font metrics>
+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
index 5a37a14565b0bb0c5443bf68602d686534d00721..d5e3d9683ddc0850abf55e115a7d5f861969ba5d 100644 (file)
@@ -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 (file)
index b10bb62..0000000
+++ /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 (file)
index be48048..0000000
+++ /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;
-}
-