diff --git a/mise.toml b/mise.toml index a8173b9..a2cf81d 100644 --- a/mise.toml +++ b/mise.toml @@ -1,10 +1,3 @@ -[vars] -USER_FULLNAME = "Steve Beaulac" -USER_EMAIL = "steve@beaulac.me" -DOTFILES_DIR = "{{config_root}}" -THEME_DIR = "~/.local/state/omarchy/current/theme" -SECOND_BRAIN = "~/Documents/sjb-brain" - [env] DOTFILES_DIR = "{{config_root}}" @@ -17,8 +10,8 @@ dotfiles.default_mode = "symlink-each" "~/.config/emacs" = "config/emacs" "~/.config/environment.d/generic.conf" = { source = "templates/environments.tmpl", mode = "template", template = "tera" } "~/.gnupg" = "config/gnupg" -"~/.config/fish" = "config/fish" # check if we really need the fisher plugins -"~/.config/gdb" = "config/gdb" +"~/.config/fish" = "config/fish" # check if we really need the fisher plugins +"~/.config/gdb" = "config/gdb" "~/.config/ghostty" = "config/ghostty" "~/.config/git" = "config/git" "~/.config/git/local" = { source = "templates/git-local.tmpl", mode = "template", template = "tera" } @@ -43,7 +36,7 @@ dotfiles.default_mode = "symlink-each" "~/.config/rofi" = "config/rofi" "~/.config/rio" = "config/rio" "~/.ssh" = "config/ssh" -"~/.config/systemd" = { source="config/systemd", mode = "copy" } +"~/.config/systemd" = { source = "config/systemd", mode = "copy" } "~/.config/environment.d" = "config/environment.d" "~/.config/tmux" = "config/tmux" "~/.config/uwsm" = "config/uwsm" @@ -96,6 +89,8 @@ dotfiles.default_mode = "symlink-each" "~/.local/bin/set-wallpaper.sh" = { source = "script/set-wallpaper.sh", mode = "symlink" } "~/.local/bin/wallpaper-fetcher" = { source = "bin/wallpaper-fetcher", mode = "symlink" } +"~/.local/bin/strata" = { source = "bin/strata", mode = "symlink" } +"~/.config/strata/settings.toml" = { source = "config/strata/settings.toml", mode = "symlink" } "~/.local/bin/omarchy-cmd-missing" = { source = "script/omarchy-cmd-missing", mode = "symlink" } "~/.local/bin/omarchy-cmd-present" = { source = "script/omarchy-cmd-present", mode = "symlink" } "~/.local/bin/omarchy-hook" = { source = "script/omarchy-hook", mode = "symlink" } @@ -138,24 +133,24 @@ login_shell = "/usr/bin/fish" [tasks.theme_links] run = [ - 'mkdir -p ~/.config/strata/themes && ln -snf ~/.local/state/omarchy/current/theme/strata.toml ~/.config/strata/themes/omarchy.toml', - 'mkdir -p ~/.config/btop/themes && ln -snf ~/.local/state/omarchy/current/theme/btop.theme ~/.config/btop/themes/current.theme', - 'mkdir -p ~/.config/ghostty && ln -snf ~/.local/state/omarchy/current/theme/ghostty.conf ~/.config/ghostty/theme', - 'mkdir -p ~/.config/hypr && ln -snf ~/.local/state/omarchy/current/theme/hyprland.lua ~/.config/hypr/theme.lua', - 'mkdir -p ~/.config/nvim/plugin && ln -snf ~/.local/state/omarchy/current/theme/neovim-vimpack.lua ~/.config/nvim/plugin/theme.lua', - 'mkdir -p ~/.config/mako && ln -snf ~/.local/state/omarchy/current/theme/mako.ini ~/.config/mako/config', - 'mkdir -p ~/.config/rofi && ln -snf ~/.local/state/omarchy/current/theme/rofi.rasi ~/.config/rofi/theme.rasi', - 'mkdir -p ~/.config/rio/themes && ln -snf ~/.local/state/omarchy/current/theme/rio.toml ~/.config/rio/themes/omarchy.toml', - 'mkdir -p ~/.config/tmux && ln -snf ~/.local/state/omarchy/current/theme/tmux" ~/.config/tmux/theme', + 'mkdir -p ~/.config/strata/themes && ln -snf ~/.local/state/omarchy/current/theme/strata.toml ~/.config/strata/themes/omarchy.toml', + 'mkdir -p ~/.config/btop/themes && ln -snf ~/.local/state/omarchy/current/theme/btop.theme ~/.config/btop/themes/current.theme', + 'mkdir -p ~/.config/ghostty && ln -snf ~/.local/state/omarchy/current/theme/ghostty.conf ~/.config/ghostty/theme', + 'mkdir -p ~/.config/hypr && ln -snf ~/.local/state/omarchy/current/theme/hyprland.lua ~/.config/hypr/theme.lua', + 'mkdir -p ~/.config/nvim/plugin && ln -snf ~/.local/state/omarchy/current/theme/neovim-vimpack.lua ~/.config/nvim/plugin/theme.lua', + 'mkdir -p ~/.config/mako && ln -snf ~/.local/state/omarchy/current/theme/mako.ini ~/.config/mako/config', + 'mkdir -p ~/.config/rofi && ln -snf ~/.local/state/omarchy/current/theme/rofi.rasi ~/.config/rofi/theme.rasi', + 'mkdir -p ~/.config/rio/themes && ln -snf ~/.local/state/omarchy/current/theme/rio.toml ~/.config/rio/themes/omarchy.toml', + 'mkdir -p ~/.config/tmux && ln -snf ~/.local/state/omarchy/current/theme/tmux ~/.config/tmux/theme', ] [tasks.shells] description = "Script to setup some cli environment" run = [ - 'fish -c "fisher install franciscolourenco/done"', - 'test -d ~/.config/tmux/plugins/tpm || git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm', - 'tmux run-shell ~/.config/tmux/plugins/tpm/bindings/install_plugins', - 'fc-cache', + 'fish -c "fisher install franciscolourenco/done"', + 'test -d ~/.config/tmux/plugins/tpm || git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm', + 'tmux run-shell ~/.config/tmux/plugins/tpm/bindings/install_plugins', + 'fc-cache', ] [bootstrap.hooks.pre-packages] @@ -164,47 +159,47 @@ run = "test -d ~/.local/state/omarchy/current/theme || rsync -av config/omarchy/ [tasks.desktop] description = "setup gui" run = [ - 'xdg-settings set default-web-browser firefox.desktop', - 'gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true', - 'id -nG sjb | grep -qw "input" && systemctl --user enable ydotool', - 'systemctl --user enable syncthing', - 'systemctl --user enable mako.service', - 'systemctl --user enable hypridle.service', - 'systemctl --user enable awww-daemon.service', - 'systemctl --user enable gnome-keyring-daemon.service', - 'systemctl --user enable hyprpolkitagent.service', - 'systemctl --user enable wallpaper.timer', - 'xdg-mime default obsidian.desktop x-scheme-handler/obsidian', - 'xdg-settings set default-url-scheme-handler obsidian obsidian.desktop' + 'xdg-settings set default-web-browser firefox.desktop', + 'gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true', + 'id -nG sjb | grep -qw "input" && systemctl --user enable ydotool', + 'systemctl --user enable syncthing', + 'systemctl --user enable mako.service', + 'systemctl --user enable hypridle.service', + 'systemctl --user enable awww-daemon.service', + 'systemctl --user enable gnome-keyring-daemon.service', + 'systemctl --user enable hyprpolkitagent.service', + 'systemctl --user enable wallpaper.timer', + 'xdg-mime default obsidian.desktop x-scheme-handler/obsidian', + 'xdg-settings set default-url-scheme-handler obsidian obsidian.desktop', ] [tasks.theme] description = 'configure theme' run = [ - 'gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"', - 'gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"', - 'gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"', - 'omarchy-theme-set "tokyo-night"' + 'gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"', + 'gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"', + 'gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"', + 'omarchy-theme-set "tokyo-night"', ] [tasks.webapps] description = 'create all web application' run = [ - 'sjb-webapp-installer "WhatsApp" https://web.whatsapp.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/whatsapp.png', - 'sjb-webapp-installer "Google Photos" https://photos.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-photos.png', - 'sjb-webapp-installer "Google Contacts" https://contacts.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-contacts.png', - 'sjb-webapp-installer "Google Messages" https://messages.google.com/web/conversations https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-messages.png', - 'sjb-webapp-installer "ChatGPT" https://chatgpt.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/chatgpt.png', - 'sjb-webapp-installer "YouTube" https://youtube.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/youtube.png', - 'sjb-webapp-installer "GitHub" https://github.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/github-light.png', - 'sjb-webapp-installer "Figma" https://figma.com/ https://www.veryicon.com/download/png/application/app-icon-7/figma-1?s=256', - 'sjb-webapp-installer "Discord" https://discord.com/channels/@me https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/discord.png', - 'sjb-webapp-installer "Twitch" https://twitch.tv/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/twitch.png', - 'sjb-webapp-installer "Team" https://teams.microsoft.com/v2/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/microsoft-teams.svg', - 'sjb-webapp-installer "Outlook" https://outlook.office.com/mail/inbox/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/microsoft-outlook.svg', - 'sjb-webapp-installer "Slack" https://app.slack.com/client/T09M8T3BB1N/C09KZ5N0ZK9 https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/slack.svg', - 'sjb-webapp-installer "Copilot" https://m365.cloud.microsoft https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/microsoft-copilot.svg', - 'sjb-webapp-installer "Augureal" https://chat.augureai.ca/chat https://www.svgrepo.com/download/375527/ai-platform.svg', + 'sjb-webapp-installer "WhatsApp" https://web.whatsapp.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/whatsapp.png', + 'sjb-webapp-installer "Google Photos" https://photos.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-photos.png', + 'sjb-webapp-installer "Google Contacts" https://contacts.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-contacts.png', + 'sjb-webapp-installer "Google Messages" https://messages.google.com/web/conversations https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-messages.png', + 'sjb-webapp-installer "ChatGPT" https://chatgpt.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/chatgpt.png', + 'sjb-webapp-installer "YouTube" https://youtube.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/youtube.png', + 'sjb-webapp-installer "GitHub" https://github.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/github-light.png', + 'sjb-webapp-installer "Figma" https://figma.com/ https://www.veryicon.com/download/png/application/app-icon-7/figma-1?s=256', + 'sjb-webapp-installer "Discord" https://discord.com/channels/@me https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/discord.png', + 'sjb-webapp-installer "Twitch" https://twitch.tv/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/twitch.png', + 'sjb-webapp-installer "Team" https://teams.microsoft.com/v2/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/microsoft-teams.svg', + 'sjb-webapp-installer "Outlook" https://outlook.office.com/mail/inbox/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/microsoft-outlook.svg', + 'sjb-webapp-installer "Slack" https://app.slack.com/client/T09M8T3BB1N/C09KZ5N0ZK9 https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/slack.svg', + 'sjb-webapp-installer "Copilot" https://m365.cloud.microsoft https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/microsoft-copilot.svg', + 'sjb-webapp-installer "Augureal" https://chat.augureai.ca/chat https://www.svgrepo.com/download/375527/ai-platform.svg', ] [tasks.bootstrap]