sway: use swappy, fasd
This commit is contained in:
parent
90c0e2c903
commit
818df23bea
1 changed files with 5 additions and 0 deletions
5
config
5
config
|
@ -25,6 +25,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 $fasd -alt | wofi --show dmenu --prompt "recent files and directories" | xargs xdg-open
|
||||||
|
|
||||||
#
|
#
|
||||||
# Host Specific
|
# Host Specific
|
||||||
|
@ -90,6 +92,7 @@ bindsym --release button3 kill
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+r exec $menu
|
bindsym $mod+r exec $menu
|
||||||
|
bindsym $mod+Shift+r exec $files
|
||||||
|
|
||||||
# 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.
|
||||||
|
@ -191,6 +194,8 @@ bindsym XF86MonBrightnessDown exec $brightness_cmd decrease
|
||||||
#
|
#
|
||||||
# copy selection to clipboard
|
# copy selection to clipboard
|
||||||
bindsym Print exec grim -g "$(slurp)" - | wl-copy
|
bindsym Print exec grim -g "$(slurp)" - | wl-copy
|
||||||
|
# copy selection to swappy
|
||||||
|
bindsym Shift+Print exec grim -g "$(slurp)" - | swappy -f -
|
||||||
# save selection
|
# save selection
|
||||||
bindsym $mod+Print exec grim -g "$(slurp)" \
|
bindsym $mod+Print exec grim -g "$(slurp)" \
|
||||||
$(xdg-user-dir PICTURES)/screenshot_$(date +'%Y%m%d_%H%M%S').png
|
$(xdg-user-dir PICTURES)/screenshot_$(date +'%Y%m%d_%H%M%S').png
|
||||||
|
|
Loading…
Reference in a new issue