|
|
@@ -96,12 +96,12 @@ set -g @yank_action 'copy-pipe' # or 'copy-pipe-and-cancel' for the default
|
|
|
# Oasis Theme Configuration
|
|
|
# -------------------------
|
|
|
set -g status-position top
|
|
|
-set -g @oasis_flavor "twilight" # Twilight Purple variant
|
|
|
+set -g @oasis_flavor "twilight_dark" # Optional: defaults to lagoon_dark
|
|
|
# Other options: "night", "midnight", "abyss", "starlight", "desert", "sol", "canyon", "dune", "cactus", "mirage", "lagoon", "rose", "dawn"
|
|
|
|
|
|
# Battery module - determine if battery is available
|
|
|
run-shell "if [ -d /sys/class/power_supply/BAT* ]; then \
|
|
|
- tmux set -g @status_right_append_section '#{tmux_battery_status_bg}'; \
|
|
|
+ tmux set -g @battery_available 'yes'; \
|
|
|
fi"
|
|
|
|
|
|
# Battery Icons (Glyphs)
|
|
|
@@ -118,9 +118,13 @@ set -g @batt_icon_charge_tier1 ''
|
|
|
set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_DATA_HOME/tmux/plugins"
|
|
|
|
|
|
# Install TPM if not already installed
|
|
|
-if "test ! -d ~/.local/share/tmux/plugins/tpm" \
|
|
|
- "run 'git clone https://github.com/tmux-plugins/tpm ~/.local/share/tmux/plugins/tpm'"
|
|
|
+if "test ! -d $XDG_DATA_HOME/tmux/plugins/tpm" \
|
|
|
+ "run 'git clone https://github.com/tmux-plugins/tpm $XDG_DATA_HOME/tmux/plugins/tpm'"
|
|
|
|
|
|
# Initialize TPM (keep this line at the very bottom of tmux.conf)
|
|
|
-run '~/.local/share/tmux/plugins/tpm/tpm'
|
|
|
+run '$XDG_DATA_HOME/tmux/plugins/tpm/tpm'
|
|
|
+
|
|
|
+# Source battery status configuration
|
|
|
+# This will be applied after theme loads and on config reload
|
|
|
+source-file "$XDG_CONFIG_HOME/tmux/battery_status.conf"
|
|
|
|