nixos/system/home/scripts/shell/xdg-query-program.sh
Evie Litherland-Smith a52ccf7ef4 Remove git-sync service, use gsync.sh script again instead
Delete some unused (test) scripts

Reduce what is sync'd by rsync-local-config: remove fonts, bat config
and zellij config
2024-10-22 11:36:21 +01:00

4 lines
116 B
Bash
Executable file

FILETYPE=$(xdg-mime query filetype "$@")
DEFAULT=$(xdg-mime query default "$FILETYPE")
echo "$FILETYPE -> $DEFAULT"