Compare commits
6
Commits
b304d302a7
...
e82d86fa8f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e82d86fa8f | ||
|
|
03abb54797 | ||
|
|
93672442f9 | ||
|
|
4380be3108 | ||
|
|
0ce884dfee | ||
|
|
a83a1c170b |
@@ -37,6 +37,7 @@ uv = "latest"
|
||||
tmux = "latest"
|
||||
node = "latest"
|
||||
go = "latest"
|
||||
croc = "latest"
|
||||
# url = 'https://releases.hashicorp.com/sentinel/{{version}}/sentinel_{{version}}_{{os(macos="darwin")}}_{{arch(x64="amd64")}}.zip'
|
||||
|
||||
[tasks.setup_pi]
|
||||
@@ -51,15 +52,16 @@ run = [
|
||||
'pi install npm:@plannotator/pi-extension',
|
||||
'pi install npm:pi-hermes-memory',
|
||||
'pi install npm:pi-msg-queue',
|
||||
'test -x /usr/bin/pass && /usr/bin/pass show config/pi/auth.json > ~/.pi/agent/auth.json'
|
||||
]
|
||||
|
||||
[tasks.setup_fish]
|
||||
run = '''
|
||||
if [ -x /usr/bin/fish ]; then
|
||||
if [[ -x /usr/bin/fish ]]; then
|
||||
if [[ "$(getent passwd "$USER" | cut -d: -f7)" != /usr/bin/fish ]]; then
|
||||
chsh -s /usr/bin/fish
|
||||
fish -c "fisher install franciscolourenco/done"
|
||||
fi
|
||||
fish -c "fisher install franciscolourenco/done"
|
||||
fi
|
||||
'''
|
||||
|
||||
[tasks.setup_nvim]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"lastChangelogVersion": "1.0.4",
|
||||
"lastChangelogVersion": "1.1.0",
|
||||
"theme": "light/dark",
|
||||
"defaultProvider": "opencode-go",
|
||||
"defaultModel": "mistral-large-4",
|
||||
|
||||
@@ -68,8 +68,11 @@ run = [
|
||||
]
|
||||
|
||||
[tasks.omarchy]
|
||||
depends_post = ['setup_pi', 'setup_fish', 'setup_herdr', 'setup_nvim', 'setup_tmux']
|
||||
run = [
|
||||
'systemctl --user enable foot-server.service',
|
||||
'xdg-mime default obsidian.desktop x-scheme-handler/obsidian',
|
||||
'xdg-settings set default-url-scheme-handler obsidian obsidian.desktop',
|
||||
'fc-cache',
|
||||
]
|
||||
|
||||
|
||||
@@ -18,11 +18,6 @@ elif [[ "$2" == "-r" ]]; then
|
||||
RES_ARGS="-r $3"
|
||||
fi
|
||||
|
||||
if [[ ! -x /usr/bin/awww ]]; then
|
||||
echo "required awww — please install with yay -S awww" >&2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Paths
|
||||
BACKGROUNDS_DIR="$HOME/Sync/Shared/wallpapers"
|
||||
CURRENT_BACKGROUND_LINK="$HOME/.local/state/omarchy/current/background"
|
||||
@@ -46,6 +41,15 @@ if [[ ! -f "$FILE_PATH" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -x /usr/bin/omarchy-theme-bg-set ]]; then
|
||||
/usr/bin/omarchy-theme-bg-set $FILE_PATH && exit 0
|
||||
fi
|
||||
|
||||
if [[ ! -x /usr/bin/awww ]]; then
|
||||
echo "required awww — please install with yay -S awww" >&2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
ln -nsf "$FILE_PATH" "$CURRENT_BACKGROUND_LINK" &&
|
||||
setsid uwsm app -- awww img "$CURRENT_BACKGROUND_LINK" &&
|
||||
exit 0
|
||||
|
||||
@@ -52,7 +52,6 @@ dotfiles.default_mode = "symlink-each"
|
||||
|
||||
"~/.config/omarchy/themed" = { source = "default/themed", mode = "symlink-each" }
|
||||
|
||||
|
||||
"~/.local/bin/tmux-open" = { source = "script/tmux-open", mode = "symlink" }
|
||||
"~/.local/bin/avr-flash" = { source = "script/avr-flash", mode = "symlink" }
|
||||
"~/.local/bin/dfu-flash" = { source = "script/dfu-flash", mode = "symlink" }
|
||||
|
||||
Reference in New Issue
Block a user