From 83e442672f2e33d7f562adbf8f2e937966bab693 Mon Sep 17 00:00:00 2001
From: ZachIR <zachir@librem.one>
Date: Wed, 12 Oct 2022 10:55:06 -0500
Subject: use barmenu for swhkd

---
 swhkd/swhkdrc | 52 ++++++++++++++++++++++++++++++++++------------------
 1 file changed, 34 insertions(+), 18 deletions(-)

diff --git a/swhkd/swhkdrc b/swhkd/swhkdrc
index 2042b69..94e5bed 100755
--- a/swhkd/swhkdrc
+++ b/swhkd/swhkdrc
@@ -12,19 +12,19 @@ alt + Escape
 
 # program launcher
 alt + d
-        tofi_run
+        barmenu_run -h 24
 
 # desktop application launcher
 alt + r
-        tofi-drun --drun-launch true
+        j4-dmenu-desktop --dmenu="barmenu -h 24 -l 15"
 
 # dmenu prompt for recording
 alt + control + r
-        tofirecord
+        dmenurecord
 
 # run dmenu interface for keepassxc
 alt + p
-        tofikeepass --height 24
+        dmenu_keepass -h 24
 
 # run dmenu interface for pass
 alt + super + p
@@ -32,56 +32,56 @@ alt + super + p
 
 # run dmenu interface for mpv
 alt + v
-        tofimpv
+        dmpv
 
 # run dmenu interface for ytfzf
 alt + y
-        ytfzf-launcher -D 'tofi --height 24'
+        ytfzf-launcher -D 'barmenu -h 24 -l 15'
 
 # run dmenu interface to spawn browsers
 alt + super + 1
-        browser-tofi
+        browser
 
 # run dmenu interface for qutebrowser profile chooser
 alt + super + q
-        qbc-tofi
+        qbc
 	#qbpm choose
 
 # run dmenu interface for librewolf profile chooser
 alt + super + w
-        lwc-tofi
+        lwc
 
 # run dmenu interface for librewolf profile chooser
 alt + super + e
-        fdc-tofi
+        fdc
 
 # run dmenu interface to open book
 alt + super + b
-        tofi_books
+        dmenu_books
 
 # run dmenu interface for mpris
 alt + super + u
-        mprisctl-tofi
+        mprisctl
 
 # run dmenu interface for monattach
 alt + super + m
-        monattach-tofi right
+        monattach right
 
 # run dmenu interface for mondetach
 alt + super + n
-        mondetach-tofi
+        mondetach
 
 # run dmenu interface for mount
 alt + super + comma
-        tofimount
+        dmenumount
 
 # run dmenu interface for umount
 alt + super + period
-        tofiumount
+        dmenuumount
 
 #run dmenu prompt for unicode chars
 alt + super + u
-        tofiunicode
+        dmenuunicode
 
 #
 # utilities
@@ -89,7 +89,7 @@ alt + super + u
 
 # toggle x idle state
 alt + c
-        swayidletog
+        xidletog
 
 # toggle waybar
 alt + w
@@ -103,6 +103,14 @@ alt + super + {Left,Right}
 alt + q
 	loginctl lock-session self
 
+# restart dwmblocks
+alt + super + 9
+        toggle dwmblocks
+
+# signal all dwmblocks modules
+alt + super + 0
+        sigdwmb all
+
 # spawn file manager
 alt + super + f
         $TERMINAL -e lfrun
@@ -123,6 +131,14 @@ alt + super + m
 alt + super + shift + m
         volsv -m
 
+# load sxiv for backgrounds
+alt + super + x
+        sxiv ~/.local/src/wallpapers
+
+# xkill
+alt + x
+	xkill
+
 #
 # xf86 keys
 #
-- 
cgit v1.2.3