summaryrefslogtreecommitdiff
path: root/hypr
diff options
context:
space:
mode:
authorbh <qn+git@epicurus.dev>2026-03-22 23:04:45 +0800
committerbh <qn+git@epicurus.dev>2026-03-22 23:04:45 +0800
commitb4a62c0b9d40414f4ab32ff2d6ae55cc34cf5c03 (patch)
tree3ed02dcc841877f0e8d64d02bc00067fa922b822 /hypr
parent8b76ba6e73596782723bba2af511300ccb579d1d (diff)
Add Scripts folder and clean things up
Diffstat (limited to 'hypr')
-rw-r--r--hypr/.config/hypr/hyprland.conf7
-rwxr-xr-xhypr/.config/hypr/scripts/mute14
-rwxr-xr-xhypr/.config/hypr/scripts/screenshot15
3 files changed, 3 insertions, 33 deletions
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"