feat(xonsh): set up ssh-agent
This commit is contained in:
parent
2570dfa162
commit
660c9089d4
11 changed files with 82 additions and 65 deletions
|
@ -16,6 +16,7 @@
|
|||
};
|
||||
sessionVariables = {EDITOR = "nvim";};
|
||||
};
|
||||
|
||||
alqueva = {
|
||||
xonsh.enable = true;
|
||||
libvirt.enable = true;
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{pkgs, ...}: {
|
||||
alqueva.fonts = {
|
||||
names = {
|
||||
sansSerif = ["Inter"];
|
||||
monospace = ["Maple Mono"];
|
||||
sansSerif = ["Fira Sans"];
|
||||
monospace = ["Fira Mono"];
|
||||
serif = ["ETBembo"];
|
||||
emoji = ["OpenMoji Color"];
|
||||
emoji = ["Twitter Color Emoji"];
|
||||
};
|
||||
packages = {
|
||||
sansSerif = [pkgs.inter];
|
||||
monospace = [pkgs.maple-mono];
|
||||
serif = [pkgs.source-serif-pro pkgs.etBook];
|
||||
emoji = [pkgs.openmoji-color];
|
||||
sansSerif = [pkgs.fira-sans];
|
||||
monospace = [pkgs.fira-mono];
|
||||
serif = [pkgs.etBook];
|
||||
emoji = [pkgs.twemoji-color-font];
|
||||
extra = [
|
||||
pkgs.source-han-sans
|
||||
pkgs.fira-go
|
||||
pkgs.noto-fonts
|
||||
pkgs.nerd-fonts.symbols-only
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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