mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-15 14:42:37 +00:00
feat: Adds runs/after/zathura to set it as the default pdf viewer.
This commit is contained in:
@@ -8,5 +8,10 @@ install() {
|
|||||||
xdg-mime default org.pwmt.zathura.desktop application/pdf
|
xdg-mime default org.pwmt.zathura.desktop application/pdf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uninstall() {
|
||||||
|
xdg-mime default brave-browser.desktop application/pdf
|
||||||
|
}
|
||||||
|
|
||||||
arg=${1:-""}
|
arg=${1:-""}
|
||||||
[[ $arg == "install" ]] && install
|
[[ $arg == "install" ]] && install
|
||||||
|
[[ $arg == "uninstall" ]] && uninstall
|
||||||
|
|||||||
Reference in New Issue
Block a user