fix: allow it to work on read-only filesystems
This commit is contained in:
parent
e2561decc2
commit
75f09ff843
2 changed files with 2 additions and 9 deletions
|
@ -32,11 +32,8 @@ main() {
|
|||
|
||||
# NOTE: Pulling in the selected theme by the theme that's being set as local
|
||||
# variables.
|
||||
sed -E 's/^(.+=)/local \1/' \
|
||||
> "${PLUGIN_DIR}/catppuccin-selected-theme.tmuxtheme" \
|
||||
< "${PLUGIN_DIR}/catppuccin-${theme}.tmuxtheme"
|
||||
|
||||
source "${PLUGIN_DIR}/catppuccin-selected-theme.tmuxtheme"
|
||||
# shellcheck source=catppuccin-frappe.tmuxtheme
|
||||
source /dev/stdin <<<"$(sed -e "/^[^#].*=/s/^/local /" "${PLUGIN_DIR}/catppuccin-${theme}.tmuxtheme")"
|
||||
|
||||
# status
|
||||
set status "on"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue