diff --git a/.github/ISSUE_TEMPLATE/3-test.yml b/.github/ISSUE_TEMPLATE/3-test.yml index b379e15e3..844678eca 100644 --- a/.github/ISSUE_TEMPLATE/3-test.yml +++ b/.github/ISSUE_TEMPLATE/3-test.yml @@ -18,7 +18,7 @@ body: attributes: label: Quick diagnose info description: "Run `./diagnose` inside the repo, and paste the result below." - value: "\n\n
Quick diagnose\n\n```\n(Paste your diagnose result here!)\n```\n\n
" + value: "
Quick diagnose\n\n```\n\n```\n\n
" validations: required: true @@ -34,6 +34,6 @@ body: - type: textarea attributes: label: The issue - value: "\n(Describe your issue here!)\n\n\n
Logs\n\n```\n(Put your log content here!)\n```\n\n
" + value: "\n\n\n
Logs\n\n```\n\n```\n\n
" validations: required: true diff --git a/diagnose b/diagnose index f44bb3c27..047ae2e15 100755 --- a/diagnose +++ b/diagnose @@ -29,6 +29,11 @@ ii_exec() { ii_check_distro() { lsb_release -a || cat /etc/os-release || cat /etc/lsb-release } +ii_check_venv() { + source $(eval echo $ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate + which gradience-cli + deactivate +} e "Checking git repo info" x git remote get-url origin @@ -49,17 +54,20 @@ e "Checking directories/files" x ls -l $ILLOGICAL_IMPULSE_VIRTUAL_ENV/bin/gradience-cli x ls $XDG_DATA_HOME/glib-2.0/schemas x ls $XDG_DATA_HOME/gradience -x cat ~/.config/ags/ +#x cat ~/.config/ags/ -e "Checking command existence" -commands=(pacman zypper apt dnf yum Hyprland) -for i in "${commands[@]}";do x command -v $i;done +#e "Checking command existence" +#commands=(yay pacman zypper apt dnf yum) +#commands+=(ags swww) +#commands+=(Hyprland hypr{ctl,idle,lock,picker}) +#commands+=(uv) +#for i in "${commands[@]}";do x command -v $i;done e "Checking versions" x Hyprland --version x ags --version -#e "Checking Color Generators" -#x ~/.config/ags/scripts/color_generation/applycolor.sh +e "Checking python venv" + e "Finished. Output saved as \"dianose.log\"."