screenshit stuff
This commit is contained in:
parent
5c9cb4ef94
commit
f3606d3fd0
@ -9,9 +9,13 @@ SCRIPTPATH=$(dirname "$SCRIPT")
|
||||
|
||||
LAST_BG_LOCATION="$XDG_CACHE_HOME/last-bg"
|
||||
|
||||
echo "$(realpath $1)" > $LAST_BG_LOCATION
|
||||
#echo "$(realpath $1)" > $LAST_BG_LOCATION
|
||||
ln -sf $1 $LAST_BG_LOCATION
|
||||
|
||||
hyprctl hyprpaper preload "$1"
|
||||
hyprctl hyprpaper wallpaper "HDMI-A-1,$1"
|
||||
hyprctl hyprpaper unload all
|
||||
swww img $1
|
||||
#hyprctl hyprpaper preload "$1"
|
||||
#hyprctl hyprpaper wallpaper "HDMI-A-1,$1"
|
||||
#hyprctl hyprpaper unload all
|
||||
|
||||
$SCRIPTPATH/wal.sh "$1"
|
||||
|
||||
|
@ -8,9 +8,7 @@ set -e
|
||||
|
||||
TMPDIR=$(mktemp -d)
|
||||
|
||||
cd $TMPDIR
|
||||
|
||||
grim -g "$(slurp)"
|
||||
GRIM_DEFAULT_DIR="$TMPDIR" grim -g "$(slurp)"
|
||||
|
||||
filename="$(date +"%d-%m-%y-%H-%M-%Z").png"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user