Remove .config/yazi/theme.toml

Change attributes of .local/bin/old/brightness.sh
Change attributes of .local/bin/old/change_colors.sh
Change attributes of .local/bin/old/random_wallpaper.sh
Change attributes of .local/bin/old/screenshots_overcomplified.sh
Change attributes of .local/bin/brightness.sh
Change attributes of .local/bin/change_colors.sh
Change attributes of .local/bin/change_wallpaper.sh
Change attributes of .local/bin/check-do-not-disturb.sh
Change attributes of .local/bin/check-if-muted.sh
Change attributes of .local/bin/home_backup.sh
Change attributes of .local/bin/random_wallpaper.sh
Change attributes of .local/bin/restart_waybar.sh
Change attributes of .local/bin/screenshot.sh
Change attributes of .local/bin/screenshots.sh
Change attributes of .local/bin/sekirofpsunlock
Change attributes of .local/bin/start_coding.sh
Change attributes of .local/bin/system_setup.sh
Change attributes of .local/bin/wp-vol.sh
Change attributes of .local/bin/steamtinkerlaunch
This commit is contained in:
2025-09-29 12:00:22 +02:00
parent 807a3f91b9
commit e38e26900a
20 changed files with 0 additions and 933 deletions

View File

@@ -1,50 +0,0 @@
#!/bin/env bash
# variables
## path vars
date="$(date +'%d-%m-%Y_%H:%M:%S')"
fname="$date.png"
target_path="$HOME/Obrazy/zrzuty/$fname"
## stdout
error_wrong_type="The first argument needs to be \"fullscreen\", \"window\" or \"region\". Exiting..."
notification_succes="$target_path saved and copied"
# validate input
case "$1" in
"fullscreen" | "window" | "region")
type=$1
;;
*)
echo "$error_wrong_type"
exit
;;
esac
notification() {
notify-send -i "$target_path" -u low -a "Screenshot" "Screenshot $type" "$notification_succes"
}
case $type in
"fullscreen")
grim -o $(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .name') "$target_path"
wl-copy < "$target_path"
notification
;;
"window")
active_window_position="$(hyprctl clients -j | jq -r '.[] | select(.focusHistoryID == 0) | .at')"
active_window_size="$(hyprctl clients -j | jq -r '.[] | select(.focusHistoryID == 0) | .size')"
x=$(echo "$active_window_position" | jq '.[0]')
y=$(echo "$active_window_position" | jq '.[1]')
width=$(echo "$active_window_size" | jq '.[0]')
height=$(echo "$active_window_size" | jq '.[1]')
grim -g "${x},${y} ${width}x${height}" "$target_path"
wl-copy < "$target_path"
notification
;;
"region")
grim -o $(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .name') - | satty -f -
;;
esac