From b4a62c0b9d40414f4ab32ff2d6ae55cc34cf5c03 Mon Sep 17 00:00:00 2001 From: bh Date: Sun, 22 Mar 2026 23:04:45 +0800 Subject: Add Scripts folder and clean things up --- hypr/.config/hypr/hyprland.conf | 7 +++---- hypr/.config/hypr/scripts/mute | 14 -------------- hypr/.config/hypr/scripts/screenshot | 15 --------------- 3 files changed, 3 insertions(+), 33 deletions(-) delete mode 100755 hypr/.config/hypr/scripts/mute delete mode 100755 hypr/.config/hypr/scripts/screenshot (limited to 'hypr') diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index 048a9fa..5dde431 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -192,10 +192,9 @@ bind = $mainMod, D, exec, $menu bind = $mainMod, E, exec, emacs # 📜 Scripts -bind = $mainMod, V, exec, ~/.config/rofi/scripts/clipboard-wayland.sh -bind = $mainMod, S, exec, ~/.config/hypr/scripts/screenshot -bind = $mainMod SHIFT, S, exec, ~/.config/hypr/scripts/screenshot snip -bind = $mainMod, slash, exec, ~/Scripts/blur-lock +bind = $mainMod, V, exec, ~/Scripts/clipboard +bind = $mainMod, S, exec, ~/Scripts/screenshot +bind = $mainMod SHIFT, S, exec, ~/Scripts/screenshot snip # 🪟 Window Management bind = $mainMod SHIFT, C, killactive, diff --git a/hypr/.config/hypr/scripts/mute b/hypr/.config/hypr/scripts/mute deleted file mode 100755 index ad61d7d..0000000 --- a/hypr/.config/hypr/scripts/mute +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# Toggle mute -pactl set-sink-mute @DEFAULT_SINK@ toggle - -# Get mute status -MUTE=$(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}') - -if [ "$MUTE" = "yes" ]; then - dunstify "󰖁 Volume: Muted" -r 2593 -t 1000 -else - VOLUME=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -Po "\d+%" | head -1) - dunstify " Volume: $VOLUME" -h int:value:${VOLUME%\%} -r 2593 -t 1000 -fi diff --git a/hypr/.config/hypr/scripts/screenshot b/hypr/.config/hypr/scripts/screenshot deleted file mode 100755 index 5ed5b7d..0000000 --- a/hypr/.config/hypr/scripts/screenshot +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -mkdir -p ~/Pictures/Screenshots - -FILE=~/Pictures/Screenshots/$(date '+%Y-%m-%d_%H-%M-%S').png - -if [[ "$1" == "snip" ]]; then - grim -g "$(slurp)" "$FILE" || exit 1 -else - grim "$FILE" || exit 1 -fi - -wl-copy --type image/png < "$FILE" - -notify-send "Screenshot Taken" "Saved to $FILE" -i "$FILE" -- cgit v1.2.3