This commit is contained in:
ksyasuda
2021-11-03 01:14:21 -07:00
parent 2bada90e42
commit 8eb9630475
26 changed files with 1861 additions and 0 deletions

25
eww/scripts/open_folders Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
## Open folders in thunar
FILE="$HOME/.cache/eww_launch.xyz"
EWW="$HOME/.bin/eww"
if [[ "$1" == "--dl" ]]; then
${EWW} close-all && rm -rf "$FILE" && thunar ~/Downloads &
elif [[ "$1" == "--docs" ]]; then
${EWW} close-all && rm -rf "$FILE" && thunar ~/Documents &
elif [[ "$1" == "--music" ]]; then
${EWW} close-all && rm -rf "$FILE" && thunar ~/Music &
elif [[ "$1" == "--pics" ]]; then
${EWW} close-all && rm -rf "$FILE" && thunar ~/Pictures &
elif [[ "$1" == "--cfg" ]]; then
${EWW} close-all && rm -rf "$FILE" && thunar ~/.config &
elif [[ "$1" == "--local" ]]; then
${EWW} close-all && rm -rf "$FILE" && thunar ~/.local/share &
fi