Fix mime type for clipshot and add some necessary packages
This commit is contained in:
parent
4afa2740be
commit
437ea5ce33
2 changed files with 23 additions and 21 deletions
|
@ -9,7 +9,7 @@ fn="$SCROTS_PATH/clipshot_$d.png"
|
|||
if is_wayland; then
|
||||
dim="$(slurp -d)"
|
||||
if [ $? -eq 0 ]; then
|
||||
grim -g "$dim" - | wl-copy
|
||||
grim -g "$dim" - | wl-copy -t image/png
|
||||
wl-paste -n > "$fn"
|
||||
echo "$fn"
|
||||
# grim -g "$dim" - | tee "$fn" | wl-copy -f
|
||||
|
|
42
env/nix/personal-machine.nix
vendored
42
env/nix/personal-machine.nix
vendored
|
@ -34,30 +34,10 @@
|
|||
networkmanager
|
||||
wget curl w3m
|
||||
git
|
||||
kitty
|
||||
pciutils usbutils binutils
|
||||
sway waybar mako wl-clipboard
|
||||
firefox-devedition-bin
|
||||
ripgrep sd
|
||||
nodejs python3
|
||||
fzf
|
||||
fortune
|
||||
dmenu
|
||||
ranger
|
||||
rsync
|
||||
pass
|
||||
brightnessctl
|
||||
vulkan-tools # TODO: vulkan?
|
||||
htop
|
||||
rustup
|
||||
clang
|
||||
pavucontrol
|
||||
pamixer
|
||||
strongswan
|
||||
gnumake
|
||||
elixir
|
||||
docker docker-compose
|
||||
postgresql
|
||||
];
|
||||
variables = {
|
||||
EDITOR = "nvim";
|
||||
|
@ -120,6 +100,28 @@
|
|||
pulsemixer
|
||||
file
|
||||
appimage-run
|
||||
kitty
|
||||
sway waybar mako wl-clipboard
|
||||
firefox-devedition-bin
|
||||
fzf
|
||||
fortune
|
||||
dmenu
|
||||
ranger
|
||||
pass
|
||||
brightnessctl
|
||||
vulkan-tools # TODO: vulkan?
|
||||
rustup
|
||||
clang
|
||||
pavucontrol
|
||||
pamixer
|
||||
strongswan
|
||||
gnumake
|
||||
elixir
|
||||
docker docker-compose
|
||||
postgresql
|
||||
htop
|
||||
google-cloud-sdk
|
||||
slurp grim
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue