diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..ae5d17d4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,23 @@ +name: Bug +description: Report a problem +labels: [bug] +body: + - type: markdown + attributes: + value: | + Remember: Omarchy is an open source gift, not a product you bought from a vendor + + - type: input + id: system-details + attributes: + label: System details + placeholder: e.g. AMD 9950X, NVIDIA 5090, Omarchy 2.1.0 + validations: + required: true + + - type: textarea + id: steps + attributes: + label: What's wrong? + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml new file mode 100644 index 00000000..33edaeab --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -0,0 +1,15 @@ +name: Documentation +description: New pages or changes to existing +labels: [documentation] +body: + - type: markdown + attributes: + value: | + Remember: Omarchy is an open source gift, not a product you bought from a vendor + + - type: textarea + id: steps + attributes: + label: What correction or addition do we need? + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.yml new file mode 100644 index 00000000..b640c39f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/enhancement.yml @@ -0,0 +1,15 @@ +name: Enhancement +description: Feature or change +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + Remember: Omarchy is an open source gift, not a product you bought from a vendor + + - type: textarea + id: steps + attributes: + label: What do you need? + validations: + required: true diff --git a/bin/omarchy-cmd-terminal-cwd b/bin/omarchy-cmd-terminal-cwd index 6062b68f..2d3cd0ce 100755 --- a/bin/omarchy-cmd-terminal-cwd +++ b/bin/omarchy-cmd-terminal-cwd @@ -5,7 +5,7 @@ terminal_pid=$(hyprctl activewindow | awk '/pid:/ {print $2}') shell_pid=$(pgrep -P "$terminal_pid" | head -n1) if [[ -n $shell_pid ]]; then - readlink -f "/proc/$shell_pid/cwd" 2>/dev/null + readlink -f "/proc/$shell_pid/cwd" 2>/dev/null || echo "$HOME" else echo "$HOME" fi