From 03bdf34d32f26c66b93a6212f669b322f10a27f6 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Thu, 6 Nov 2025 20:13:39 +0100 Subject: Add battery status to tmux status line --- nvim/lazy-lock.json | 4 ++-- tmux/tmux.conf | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index b65f81f..ae49730 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -5,8 +5,8 @@ "fzf-lua": { "branch": "main", "commit": "a8458b79a957a6e3e217d84106a0fd4b9470ff4c" }, "gitsigns.nvim": { "branch": "main", "commit": "20ad4419564d6e22b189f6738116b38871082332" }, "gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" }, - "lazy.nvim": { "branch": "main", "commit": "202d8e92b3a74ac88eb3a7f1e40fb59b4c2a6535" }, - "nvim-lspconfig": { "branch": "master", "commit": "a89bfcfd0e44f898341ac8a80ba83ccf6218bef3" }, + "lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" }, + "nvim-lspconfig": { "branch": "master", "commit": "2010fc6ec03e2da552b4886fceb2f7bc0fc2e9c0" }, "nvim-surround": { "branch": "main", "commit": "fcfa7e02323d57bfacc3a141f8a74498e1522064" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, "nvim-web-devicons": { "branch": "master", "commit": "8dcb311b0c92d460fac00eac706abd43d94d68af" }, diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 3f2a585..2267017 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -25,3 +25,5 @@ set-window-option -g window-status-current-format ' #I:#W ' # open pane splits at the same path as current pane bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" + +set-window-option -g status-right "%H:%M %d-%b-%y 󰁹 #(upower -i /org/freedesktop/UPower/devices/DisplayDevice | awk '/percentage:/ {print \$2}' | bash -c 'read s; printf \"%.0f%%%%\" \"\${s%%%}\"') " -- cgit v1.3.1