1
0
forked from extern/nix-config

Use rofi in sway

Note that although there was an issue with window focus, rofi works fine
for the most part and gets the job done.
This commit is contained in:
Donovan Glover 2021-06-21 18:22:01 -04:00
parent 32fad752a9
commit a563bb0850
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -6,7 +6,7 @@ set $term alacritty
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
set $menu dmenu_path | dmenu | xargs swaymsg exec -- set $menu rofi -show drun
# Output configuration (swaymsg -t get_outputs) # Output configuration (swaymsg -t get_outputs)
output * bg /usr/share/backgrounds/archlinux/simple.png fill output * bg /usr/share/backgrounds/archlinux/simple.png fill
@ -24,9 +24,6 @@ input "1:1:AT_Translated_Set_2_keyboard" {
} }
### Key bindings ### Key bindings
#
# Basics:
#
# Start a terminal # Start a terminal
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
@ -34,7 +31,7 @@ input "1:1:AT_Translated_Set_2_keyboard" {
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
# Start your launcher # Start your launcher
bindsym $mod+d exec $menu bindsym $alt+z exec $menu
# 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.