forked from Shinonome/dots-hyprland
tweaks in script
This commit is contained in:
@@ -10,7 +10,7 @@ RECORDING_DIR=""
|
||||
if [[ -n "$CUSTOM_PATH" ]]; then
|
||||
RECORDING_DIR="$CUSTOM_PATH"
|
||||
else
|
||||
RECORDING_DIR="$HOME/Videos"
|
||||
RECORDING_DIR="$HOME/Videos" # Use default path
|
||||
fi
|
||||
|
||||
getdate() {
|
||||
@@ -23,11 +23,6 @@ getactivemonitor() {
|
||||
hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .name'
|
||||
}
|
||||
|
||||
# ORİJİNAL XDG MANTIĞI SİLİNDİ, YERİNE SADECE YENİ DEĞİŞKEN KULLANILDI
|
||||
# xdgvideo="$(xdg-user-dir VIDEOS)"
|
||||
# if $xdgvideo = "$HOME" ]]; then
|
||||
# unset xdgvideo
|
||||
# fi
|
||||
mkdir -p "$RECORDING_DIR"
|
||||
cd "$RECORDING_DIR" || exit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user