Selection
Docs
desktop.fish
.config/fish/conf.d/desktop.fish
# These helpers only work inside a graphical Wayland session.
if not status is-interactive; or not set -q WAYLAND_DISPLAY
return
end
# Use the systemd-managed per-user SSH agent socket for this shell session.
if set -q XDG_RUNTIME_DIR
set -gx SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/ssh-agent.socket"
end
function sc
grim -g (slurp) ~/Pictures/screenshots/(date +%F_%T).png
end
function scf
grim ~/Pictures/screenshots/(date +%F_%T).png
end
function sce
grim -g (slurp) - | swappy -f -
end
function scc
grim -g (slurp) - | wl-copy
end