sway: add tofi, more stuff

This commit is contained in:
Inhji 2023-10-20 13:18:54 +02:00
parent 7bca7edd79
commit 721fc41ce5
1 changed files with 6 additions and 2 deletions

View File

@ -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