From 721fc41ce588dd03e165e445a9a94bdceada7c19 Mon Sep 17 00:00:00 2001 From: Inhji Date: Fri, 20 Oct 2023 13:18:54 +0200 Subject: [PATCH] sway: add tofi, more stuff --- config/sway/config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/sway/config b/config/sway/config index 98952af..39c8c79 100644 --- a/config/sway/config +++ b/config/sway/config @@ -21,7 +21,9 @@ set $MON1 "HDMI-A-1" # Your preferred application launcher # Note: it's recommended that you pass the final command to sway #set $menu dmenu_path | dmenu | xargs swaymsg exec -- -set $menu wofi --show drun -p Search -n -i -I -W 66% -s $HOME/.config/wofi.css +#set $menu wofi --show drun -p Search -n -i -I -W 66% -s $HOME/.config/wofi.css +set $menu tofi-drun | xargs swaymsg exec -- +set $dmenu tofi-run | xargs swaymsg exec -- #xwayland disable @@ -93,9 +95,10 @@ hide_edge_borders both bindsym --border button3 kill # Start your launcher - bindsym $mod+d exec $menu + bindsym $mod+d exec $dmenu bindsym $mod+Tab exec $menu bindsym $mod+t exec $files + bindsym $mod+Shift+w exec waypaper # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. @@ -279,6 +282,7 @@ for_window [app_id="gnome-control-center"] floating enable for_window [app_id="blueman-manager"] floating enable for_window [instance="Msgcompose"] floating enable for_window [app_id="waypaper"] floating enable +for_window [app_id="mpv"] floating enable exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway