Files
dotfiles/desktop/mise.toml
T

104 lines
5.5 KiB
TOML

[dotfiles]
# Desktop files
"~/.local/share/applications" = { source = "applications", mode = "symlink-each" }
# scripts.
"~/.local/bin/hyprland-keybindings" = { source = "script/hyprland-keybindings", mode = "symlink" }
"~/.local/bin/hyprland-fetch-client" = { source = "script/hyprland-fetch-client", mode = "symlink" }
"~/.local/bin/hyprland-focus-client" = { source = "script/hyprland-focus-client", mode = "symlink" }
"~/.local/bin/terminal-launcher" = { source = "script/terminal-launcher", mode = "symlink" }
"~/.local/bin/hyprland-tmux-session" = { source = "script/hyprland-tmux-session", mode = "symlink" }
"~/.local/bin/hyprland-toggle-monitor" = { source = "script/hyprland-toggle-monitor", mode = "symlink" }
"~/.local/bin/rofi-pass" = { source = "script/rofi-pass", mode = "symlink" }
"~/.local/bin/screen-recorder" = { source = "script/screen-recorder", mode = "symlink" }
"~/.config/ghostty" = "config/ghostty"
"~/.config/ostt" = "config/ostt"
"~/.config/fontconfig" = { source = "config/fontconfig", mode = "copy" }
"~/.config/foot" = "config/foot"
"~/.config/hypr/sjb" = "config/hypr/sjb"
"~/.config/hypr/hypridle.conf" = { source = "config/hypr/hypridle.conf", mode = "symlink" }
"~/.config/hypr/hyprlock.conf" = { source = "config/hypr/hyprlock.conf", mode = "symlink" }
"~/.config/hypr/hyprpm.conf" = { source = "config/hypr/hyprpm.conf", mode = "symlink" }
"~/.config/hypr/hyprland.lua/sjb" = { block = 'require("sjb.init")' }
"~/.config/kitty" = "config/kitty"
"~/.config/rofi" = "config/rofi"
"~/.config/rio" = "config/rio"
"~/.config/uwsm" = "config/uwsm"
"~/.config/chromium-flags.conf" = { source = "config/chromium-flags.conf", mode = "symlink" }
"~/.local/share/fonts/" = { source = "fonts", mode = "copy" }
"~/.local/bin/sjb-webapp-installer" = { source = "script/sjb-webapp-installer", mode = "symlink" }
"~/.local/bin/bing-wallpaper" = { source = "script/bing-wallpaper", mode = "symlink" }
"~/.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" }
[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',
'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',
]
[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',
]
[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 "X" https://x.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/x.png',
]
[bootstrap.packages]
"pacman:gtksourceview5" = "latest"
[tasks.bootstrap]
depends = ['desktop', 'webapps']