diff --git a/.vscode/settings.json b/.vscode/settings.json index 49aa159..dd7bbbc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,6 +6,7 @@ "libxcb", "libxkbcommon", "logviewer", + "pkill", "xfixes" ] } diff --git a/bacon.toml b/bacon.toml index af4ec61..b722551 100644 --- a/bacon.toml +++ b/bacon.toml @@ -1,15 +1,10 @@ # This is a configuration file for the bacon tool -# -# Complete help on configuration: https://dystroy.org/bacon/config/ -# -#  You may check the current default at -# https://github.com/Canop/bacon/blob/main/defaults/default-bacon.toml [jobs.reset-settings-and-run] command = [ "sh", "-c", - "./scripts/remove_settings_and_run_with_default.sh", + "trash ~/.local/share/logviewer/app.ron; cargo run", ] need_stdout = true allow_warnings = true diff --git a/scripts/remove_settings_and_run_with_default.sh b/scripts/remove_settings_and_run_with_default.sh deleted file mode 100755 index 149ae32..0000000 --- a/scripts/remove_settings_and_run_with_default.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -SETTINGS_FILE=~/.local/share/logviewer/app.ron -if [ -e $SETTINGS_FILE ] -then - trash $SETTINGS_FILE - echo "Trashed settings file before run" -else - echo "Settings file not found, so not deleted." -fi -cargo run \ No newline at end of file