sway: replace fasd with fzf

This commit is contained in:
Konstantin Koslowski 2021-02-25 07:57:43 +01:00
parent 3057a98b4b
commit a8088df360
2 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@
install required packages install required packages
``` ```
$ sudo pacman -S sway swayidle swaylock i3status-rust grim slurp swappy wl-clipboard wofi $ sudo pacman -S sway swayidle swaylock i3status-rust grim slurp swappy wl-clipboard wofi fzf
$ yay -S persway $ yay -S persway
``` ```

5
config
View file

@ -26,8 +26,8 @@ set $font Cascadia Code PL Regular 10
# Your preferred application launcher # Your preferred application launcher
set $menu wofi --show drun --prompt applications set $menu wofi --show drun --prompt applications
set $fasd $HOME/.zprezto/modules/fasd/external/fasd set $files termite -t fzf -e \"fzf --bind 'return:execute(nohup xdg-open {} &> /dev/null &)+abort'\"
set $files $fasd -alt | wofi --show dmenu --prompt "recent files and directories" | xargs xdg-open
# #
# Host Specific # Host Specific
@ -275,6 +275,7 @@ for_window [app_id=".*"] title_format '<span font_weight="bold">%title</span> <s
for_window [class=".*"] title_format '<span font_weight="bold">%title</span> <span>(%class:%instance)</span>' for_window [class=".*"] title_format '<span font_weight="bold">%title</span> <span>(%class:%instance)</span>'
for_window [app_id="firefox" title="Firefox - Sharing Indicator"] floating enable; move position 0 0 for_window [app_id="firefox" title="Firefox - Sharing Indicator"] floating enable; move position 0 0
for_window [title="bluetoothctl"] floating enable for_window [title="bluetoothctl"] floating enable
for_window [title="fzf"] floating enable
# #
# Status Bar: # Status Bar: