diff --git a/.config/opencode/opencode.json b/.config/opencode/opencode.json index e7f99a3..50fbc37 100644 --- a/.config/opencode/opencode.json +++ b/.config/opencode/opencode.json @@ -6,8 +6,8 @@ "temperature": 1.0, "top_p": 0.95, "permission":{ - "task": { - "git": "allow" + "skill": { + "git-*": "allow" } } }, diff --git a/.config/opencode/agents/git.md b/.config/opencode/skills/git-commit/SKILL.md similarity index 87% rename from .config/opencode/agents/git.md rename to .config/opencode/skills/git-commit/SKILL.md index d025408..691e47a 100644 --- a/.config/opencode/agents/git.md +++ b/.config/opencode/skills/git-commit/SKILL.md @@ -1,24 +1,10 @@ --- -description: Generates git commit message from changes, handle git operations -mode: subagent -model: opencode-go/deepseek-v4-flash -hidden: false -permission: - edit: deny - bash: allow - read: allow - glob: allow - grep: allow - list: allow +name: git-commit +description: Generate git commit messages using Conventional Commits specification +license: MIT --- -Your role is to handle commit. -You must not compile, build or attempt to make changes as everything has already been tested and confirmed as working as intended. -All changes are already staged. You must generate a commit message using staged changes and the specification below. - -# Commit messages - -## Specification +# Specification The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119. @@ -39,7 +25,7 @@ The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL - The units of information that make up Conventional Commits MUST NOT be treated as case-sensitive by implementors, with the exception of BREAKING CHANGE which MUST be uppercase. - BREAKING-CHANGE MUST be synonymous with BREAKING CHANGE, when used as a token in a footer. -## Examples +# Examples Commit message with description and breaking change footer ``` diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 7eeb4bb..cdcc38a 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -82,4 +82,5 @@ } #tray { + padding-bottom: 2rem; } diff --git a/.tmux.conf b/.tmux.conf index 041ffa0..87ad43f 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -2,7 +2,7 @@ set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'catppuccin/tmux#v2.1.3' set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'sainnhe/tmux-fzf' +set -g @plugin 'omerxx/tmux-sessionx' set -g @continuum-restore 'on' set -g @resurrect-processes 'opencode nvim lazygit yazi'