sway: add tofi, more stuff
This commit is contained in:
parent
7bca7edd79
commit
721fc41ce5
|
@ -21,7 +21,9 @@ set $MON1 "HDMI-A-1"
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# Note: it's recommended that you pass the final command to sway
|
# Note: it's recommended that you pass the final command to sway
|
||||||
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
#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
|
#xwayland disable
|
||||||
|
|
||||||
|
@ -93,9 +95,10 @@ hide_edge_borders both
|
||||||
bindsym --border button3 kill
|
bindsym --border button3 kill
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+d exec $menu
|
bindsym $mod+d exec $dmenu
|
||||||
bindsym $mod+Tab exec $menu
|
bindsym $mod+Tab exec $menu
|
||||||
bindsym $mod+t exec $files
|
bindsym $mod+t exec $files
|
||||||
|
bindsym $mod+Shift+w exec waypaper
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
# Resize them with right mouse button + $mod.
|
# 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 [app_id="blueman-manager"] floating enable
|
||||||
for_window [instance="Msgcompose"] floating enable
|
for_window [instance="Msgcompose"] floating enable
|
||||||
for_window [app_id="waypaper"] 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 systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||||
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
|
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
|
||||||
|
|
Loading…
Reference in New Issue