feat(xonsh): set up ssh-agent
This commit is contained in:
parent
2570dfa162
commit
660c9089d4
11 changed files with 82 additions and 65 deletions
|
@ -11,7 +11,7 @@ riverctl spawn "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG
|
|||
|
||||
riverctl map normal "$mod"+Shift Return spawn kitty
|
||||
riverctl map normal "$mod" P spawn "rofi -show drun"
|
||||
riverctl map normal "$mod" S spawn "$HOME/.config/river/scripts/screenshot.sh savecopy"
|
||||
riverctl map normal "$mod" S spawn "flameshot gui"
|
||||
riverctl map normal "$mod" Q close
|
||||
riverctl map normal "$mod"+Shift E exit
|
||||
riverctl map normal "$mod"+Shift C spawn "$HOME/.config/river/init"
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
source "$HOME/.config/user-dirs.dirs"
|
||||
|
||||
case "$1" in
|
||||
"copy")
|
||||
GEOM="$(slurp)"
|
||||
if [ "$GEOM" == "" ]; then
|
||||
grim - | wl-copy
|
||||
else
|
||||
grim -g "$GEOM" - | wl-copy
|
||||
fi
|
||||
echo "Screenshot copied."
|
||||
;;
|
||||
"save")
|
||||
GEOM="$(slurp)"
|
||||
if [ "$GEOM" == "" ]; then
|
||||
grim "$OUT"
|
||||
else
|
||||
grim -g "$GEOM" "$OUT"
|
||||
fi
|
||||
echo "Screenshot saved. $OUT"
|
||||
;;
|
||||
"savecopy")
|
||||
GEOM="$(slurp)"
|
||||
if [ "$GEOM" == "" ]; then
|
||||
grim - | wl-copy
|
||||
else
|
||||
grim -g "$GEOM" - | wl-copy
|
||||
fi
|
||||
wl-copy <"$OUT"
|
||||
echo "Screenshot saved and copied. $OUT"
|
||||
;;
|
||||
*)
|
||||
echo "Not done!"
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue