From 90bc4859e373456534a73ab9b29ad1c872a37e4a Mon Sep 17 00:00:00 2001 From: installer Date: Tue, 11 Feb 2025 12:13:45 +0900 Subject: Updated screenshots.sh --- config/hypr/scripts/ScreenShot.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'config/hypr/scripts') diff --git a/config/hypr/scripts/ScreenShot.sh b/config/hypr/scripts/ScreenShot.sh index e0df2b86..852be4b0 100755 --- a/config/hypr/scripts/ScreenShot.sh +++ b/config/hypr/scripts/ScreenShot.sh @@ -2,21 +2,23 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Screenshots scripts -iDIR="$HOME/.config/swaync/icons" -sDIR="$HOME/.config/hypr/scripts" - +# variables time=$(date "+%d-%b_%H-%M-%S") dir="$(xdg-user-dir)/Pictures/Screenshots" file="Screenshot_${time}_${RANDOM}.png" +iDIR="$HOME/.config/swaync/icons" +iDoR="$HOME/.config/swaync/images" +sDIR="$HOME/.config/hypr/scripts" + active_window_class=$(hyprctl -j activewindow | jq -r '(.class)') active_window_file="Screenshot_${time}_${active_window_class}.png" active_window_path="${dir}/${active_window_file}" notify_cmd_base="notify-send -t 10000 -A action1=Open -A action2=Delete -h string:x-canonical-private-synchronous:shot-notify" -#notify_swappy="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png" notify_cmd_shot="${notify_cmd_base} -i ${iDIR}/picture.png " notify_cmd_shot_win="${notify_cmd_base} -i ${iDIR}/picture.png " +notify_cmd_NOT="notify-send -u low -i ${iDoR}/ja.png " # notify and view screenshot notify_view() { @@ -33,7 +35,7 @@ notify_view() { ;; esac else - ${notify_cmd_shot} " Screenshot of:" " ${active_window_class} NOT Saved." + ${notify_cmd_NOT} " Screenshot of:" " ${active_window_class} NOT Saved." "${sDIR}/Sounds.sh" --error fi @@ -63,14 +65,12 @@ notify_view() { ;; esac else - ${notify_cmd_shot} " Screenshot" " NOT Saved" + ${notify_cmd_NOT} " Screenshot" " NOT Saved" "${sDIR}/Sounds.sh" --error fi fi } - - # countdown countdown() { for sec in $(seq $1 -1 1); do -- cgit v1.2.3 From d07749ef91408d68e40c31353a7c732cb149beb3 Mon Sep 17 00:00:00 2001 From: installer Date: Tue, 11 Feb 2025 12:29:01 +0900 Subject: updated keyhints --- config/hypr/scripts/KeyHints.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config/hypr/scripts') diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index b7ed26e2..49ee7e52 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -25,7 +25,7 @@ max_height=1000 # Set percentage of screen size for dynamic adjustment percentage_width=90 -percentage_height=90 +percentage_height=100 # Calculate dynamic width and height dynamic_width=$((width * percentage_width / 100)) @@ -46,16 +46,17 @@ GDK_BACKEND=$BACKEND yad --width=$dynamic_width --height=$dynamic_height \ --column=Command: \ --timeout-indicator=bottom \ "ESC" "close this app" "" "=" "SUPER KEY (Windows Key)" "(SUPER KEY)" \ +" SHIFT K" "Searchable Keybinds" "(Search all Keybinds via rofi)" \ +"" "" "" \ " enter" "Terminal" "(kitty)" \ -" SHIFT enter" "DropDown Terminal" "(kitty-pyprland)" \ -" SHIFT K" "Searchable Keybinds" "(Keybinds)" \ +" SHIFT enter" "DropDown Terminal" "(Not available in Debian and Ubuntu)" \ " A" "Desktop Overview" "(AGS Overview)" \ " D" "Application Launcher" "(rofi-wayland)" \ " T" "Open File Manager" "(Thunar)" \ " S" "Google Search using rofi" "(rofi)" \ " Q" "close active window" "(not kill)" \ " Shift Q " "kills an active window" "(kill)" \ -" Z" "Desktop Zoom" "(pyprland)" \ +" Z" "Desktop Zoom" "(Not available in Debian and Ubuntu)" \ " Alt V" "Clipboard Manager" "(cliphist)" \ " W" "Choose wallpaper" "(Wallpaper Menu)" \ " Shift W" "Choose wallpaper effects" "(imagemagick + swww)" \ -- cgit v1.2.3