aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sway/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-02-12 16:20:13 -0600
committerToby Vincent <tobyv@tobyvin.dev>2024-02-12 16:20:13 -0600
commit32c604ff257ae34e9d011add23d0b2af321dc8bb (patch)
treeb7d40d3e0a1aa92ca0616719ccd60011be3b6a3c /sway/.config
parent7af2ab7dac6a72743beb13e436273e0e47527144 (diff)
feat(tofi): migrate to tofi for dmenu
Diffstat (limited to 'sway/.config')
-rw-r--r--sway/.config/sway/config12
1 files changed, 8 insertions, 4 deletions
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index cbd7163..964cd16 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -1,5 +1,5 @@
set $mod Mod4
-set $menu bemenu
+set $menu dmenu-wl
set $left h
set $down j
@@ -66,13 +66,17 @@ bindsym $mod+q kill
bindsym $mod+Shift+c reload
bindsym $mod+Shift+Escape exec swaynag -t warning -m 'Exit sway?' -B 'Yes' 'swaymsg exit'
bindsym $mod+ctrl+q exec loginctl lock-session
-bindsym $mod+Escape exec powermenu list | $menu | powermenu
+bindsym $mod+Escape exec powermenu list | $menu -l 6 | powermenu
bindsym $mod+return exec $TERMINAL
bindsym $mod+w exec $BROWSER
bindsym Print exec slurp | grim -g - - | wl-copy --type image/png
bindsym $mod+Print exec /usr/share/sway/scripts/grimshot --notify save area
-bindsym $mod+space exec j4-dmenu-desktop --no-generic --dmenu='$menu' --term="$TERMINAL"
-bindsym $mod+shift+space exec bemenu-run
+bindsym $mod+space exec tofi-drun | xargs swaymsg exec --
+bindsym $mod+shift+space exec tofi-run | xargs swaymsg exec --
+bindsym $mod+v exec cliphist list | $menu -l 10 | cliphist decode | wl-copy
+bindsym $mod+Shift+v exec cliphist list | $menu -l 10 | cliphist delete
+bindsym $mod+p exec passmenu
+bindsym $mod+Shift+p exec passmenu --type
bindsym $mod+y exec yubikey-oath-dmenu --notify --clipboard
bindsym $mod+Shift+y exec yubikey-oath-dmenu --notify --type