chore: remove cryfsunlock.sh script;
chore: remove old kitty configuration files; chore: remove libinput-gestures.conf; chore: remove unused rofi-wayland images; feat: add gesture controls for rofi menu, notification center and volume in hyprland; feat: add privacy window rules for zen browser and Logseq; refactor: update keybinds and menu commands in hyprland configuration; fix: change OBS keybinds from bindrn to bindr for proper functionality; feat: set GTK theme for waybar in toggle script; feat: enhance calendar widget with year view and click actions in waybar
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
CRYFS_DIR="/home/greg/.cryfs/"
|
||||
CRYFS_MOUNT_DIR="/home/greg/cryfs/"
|
||||
|
||||
# Retrieve volume name with zenity
|
||||
VOLUME=$(zenity --entry --title="Unlock Cryfs" --text="Volume:")
|
||||
|
||||
# Retrieve password with zenity
|
||||
PASSWORD=$(zenity --password --title="Unlock Cryfs" --text="Volume password:")
|
||||
|
||||
# Unlock the volume
|
||||
cryfs "$CRYFS_DIR$VOLUME" $CRYFS_MOUNT_DIR$VOLUME <<< $PASSWORD
|
||||
|
||||
# If the unlock was successful, show a success message
|
||||
if [ $? -eq 0 ]; then
|
||||
notify-send "Unlock Cryfs" "Volume $VOLUME unlocked successfully"
|
||||
exit 0
|
||||
else
|
||||
notify-send "Unlock Cryfs" "Failed to unlock volume $VOLUME"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user