From eb683e1d4faaf5d573f067aee7c16f8b7b859eed Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 18 Oct 2023 19:04:48 +0200 Subject: renamed hyprland to wayland --- config/hyprland/hypr/screenshot.sh | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 config/hyprland/hypr/screenshot.sh (limited to 'config/hyprland/hypr/screenshot.sh') diff --git a/config/hyprland/hypr/screenshot.sh b/config/hyprland/hypr/screenshot.sh deleted file mode 100755 index 694e099..0000000 --- a/config/hyprland/hypr/screenshot.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -dir="$(xdg-user-dir PICTURES)" -dir="${dir:-$HOME/pics}/screenshots" -date="$(date +%y%m%d_%H_%M_%S)" -mkdir -p "$dir" - -case $1 in - "-m") - actwin="$(hyprctl activewindow -j | jq -r '.monitor')" - actmon="$(hyprctl monitors -j | - jq -r ".[] | select(.id == $actwin)" | - jq -r '.name')" - grim -o "$actmon" "$dir/${date}_mon.png" - ;; - "-f") - grim "$dir/${date}_full.png" - ;; - "-s") - grim -g "$(slurp)" "$dir/${date}_sel.png" - ;; - "-sc") - grim -g "$(slurp)" - | wl-copy - ;; - *) - exit - ;; -esac -- cgit v1.2.3