Compare commits
No commits in common. "385106ccb0633e1f4800f43608191b90bef984db" and "0d2645a4a768432f9db028d9180a23fc683f18b0" have entirely different histories.
385106ccb0
...
0d2645a4a7
|
|
@ -1 +1 @@
|
||||||
timeout 300 'hyprctl dispatcher dpms off && ~/.local/bin/scripts/system/screenlock'
|
timeout 300 'hyprctl dispatcher dpms off && swaylock'
|
||||||
|
|
|
||||||
|
|
@ -10,18 +10,16 @@
|
||||||
.gnupg
|
.gnupg
|
||||||
.gtkrc-2.0
|
.gtkrc-2.0
|
||||||
.hyprland
|
.hyprland
|
||||||
.java
|
|
||||||
.local/bin/*
|
.local/bin/*
|
||||||
.local/share/*
|
.local/share/*
|
||||||
.local/state
|
.local/state
|
||||||
.minecraft
|
.minecraft
|
||||||
.mozilla
|
.mozilla
|
||||||
.nv
|
|
||||||
.parallel
|
.parallel
|
||||||
.pki
|
.pki
|
||||||
.profile
|
.profile
|
||||||
.pulse-cookie
|
.pulse-cookie
|
||||||
.python_*
|
.python_history
|
||||||
.rustup
|
.rustup
|
||||||
.ssh
|
.ssh
|
||||||
.steam*
|
.steam*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
CURDIR="$(dirname "$0")"
|
|
||||||
. "${CURDIR}/../helpers/root_guard.sh"
|
|
||||||
|
|
||||||
cp /usr/bin/grimblast ~/.local/bin/
|
|
||||||
patch -u ~/.local/bin/grimblast -i "${CURDIR}/../files/patches/grimblast-hide-cursor.patch"
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
--- /usr/bin/grimblast 2023-06-08 21:37:37.000000000 +0200
|
|
||||||
+++ ../../../../bin/grimblast 2023-06-09 14:42:41.857503879 +0200
|
|
||||||
@@ -131,6 +131,14 @@
|
|
||||||
FILE=$1
|
|
||||||
GEOM=$2
|
|
||||||
OUTPUT=$3
|
|
||||||
+
|
|
||||||
+ ORIG_POS="$(hyprctl cursorpos | tr -d ,)"
|
|
||||||
+ MONITOR="$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')"
|
|
||||||
+ HEIGHT="$(hyprctl monitors -j | jq -r '.[] | select(.name == "'$MONITOR'").height')"
|
|
||||||
+ HEIGHT="$(echo "$HEIGHT - 1" | bc)"
|
|
||||||
+
|
|
||||||
+ hyprctl dispatch movecursor "0 $HEIGHT" > /dev/null
|
|
||||||
+
|
|
||||||
if [ -n "$OUTPUT" ]; then
|
|
||||||
grim ${CURSOR:+-c} -o "$OUTPUT" "$FILE" || die "Unable to invoke grim"
|
|
||||||
elif [ -z "$GEOM" ]; then
|
|
||||||
@@ -138,6 +146,8 @@
|
|
||||||
else
|
|
||||||
grim ${CURSOR:+-c} -g "$GEOM" "$FILE" || die "Unable to invoke grim"
|
|
||||||
fi
|
|
||||||
+
|
|
||||||
+ hyprctl dispatch movecursor "$ORIG_POS" > /dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$ACTION" = "check" ]; then
|
|
||||||
Loading…
Reference in New Issue