Browse Source

dev: automated commit - 2025-10-08 14:25:23

Mariano Z. 4 months ago
parent
commit
a766ae0099
3 changed files with 19 additions and 24 deletions
  1. 9 2
      local-bin/.local/bin/randwall
  2. 9 21
      mise/.config/mise/config.toml
  3. 1 1
      zsh/.config/zsh/init.zsh

+ 9 - 2
local-bin/.local/bin/randwall

@@ -16,8 +16,15 @@ case "$(hostname)" in
 	done
 	;;
 "fw")
-	# Set specific wallpaper for fw host
-	swww img "$HOME/Pictures/hwtioswoamne1.jpeg" --transition-type center --transition-step 120 --transition-fps 144
+	# # Set specific wallpaper for fw host
+	# swww img "$HOME/Pictures/hwtioswoamne1.jpeg" --transition-type center --transition-step 120 --transition-fps 144
+	# ;;
+	#
+	# Get all outputs and set random wallpapers with transitions
+	swaymsg -t get_outputs -r | jq -r ".[].name" | while read -r output; do
+		random_wallpaper=$(find ~/Pictures/* -type f | shuf -n 1)
+		swww img "$random_wallpaper" --outputs "$output" --transition-type center --transition-step 120 --transition-fps 144 &
+	done
 	;;
 *)
 	echo "Unknown hostname: $(hostname)"

+ 9 - 21
mise/.config/mise/config.toml

@@ -1,26 +1,14 @@
 [tools]
 usage = "latest"
-nodejs = "16.14.0"
-golang = "1.23.0"
-flyctl = "0.1.64"
-sops = "3.6.1"
-java = "21"
-node = "20"
-dotnet-core = "8.0.401"
-bun = "1.2.4"
-go = "1.24.1"
-ruby = "3.2"
-caddy = "latest"
-stern = "latest"
 
 [settings]
 # plugins can read the versions files used by other version managers (if enabled by the plugin)
 # for example, .nvmrc in the case of node's nvm
-legacy_version_file = true                     # enabled by default (unlike asdf)
+legacy_version_file = true # enabled by default (unlike asdf)
 
 # configure `mise install` to always keep the downloaded archive
-always_keep_download = false        # deleted after install by default
-always_keep_install = false         # deleted on failure by default
+always_keep_download = false # deleted after install by default
+always_keep_install = false  # deleted on failure by default
 
 # configure how frequently (in minutes) to fetch updated plugin repository changes
 # this is updated whenever a new runtime is installed
@@ -28,18 +16,18 @@ always_keep_install = false         # deleted on failure by default
 plugin_autoupdate_last_check_duration = '1 week' # set to 0 to disable updates
 
 # config files with these prefixes will be trusted by default
-trusted_config_paths = [ ]
+trusted_config_paths = []
 
 verbose = false     # set to true to see full installation output, see `MISE_VERBOSE`
 asdf_compat = false # set to true to ensure .tool-versions will be compatible with asdf, see `MISE_ASDF_COMPAT`
 #http_timeout = 30   # set the timeout for http requests in seconds, see `MISE_HTTP_TIMEOUT`
-jobs = 4            # number of plugins or runtimes to install in parallel. The default is `4`.
-raw = false         # set to true to directly pipe plugins to stdin/stdout/stderr
-yes = false         # set to true to automatically answer yes to all prompts
+jobs = 4    # number of plugins or runtimes to install in parallel. The default is `4`.
+raw = false # set to true to directly pipe plugins to stdin/stdout/stderr
+yes = false # set to true to automatically answer yes to all prompts
 
 not_found_auto_install = true # see MISE_NOT_FOUND_AUTO_INSTALL
-task_output = "prefix" # see Tasks Runner for more information
-paranoid = false       # see MISE_PARANOID
+task_output = "prefix"        # see Tasks Runner for more information
+paranoid = false              # see MISE_PARANOID
 
 env_file = '.env' # load env vars from a dotenv file, see `MISE_ENV_FILE`
 

+ 1 - 1
zsh/.config/zsh/init.zsh

@@ -80,6 +80,6 @@ source "$ZDOTDIR/rose-pine.sh"
 
 # Defer loading
 zsh-defer source "$PLUGIN_DIR/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
-for config in tmux.zsh functions.zsh alias.zsh keymap.zsh path.zsh pnpm.zsh; do
+for config in tmux.zsh functions.zsh alias.zsh keymap.zsh path.zsh pnpm.zsh mise.zsh; do
   zsh-defer source "$ZDOTDIR/$config"
 done