tmux: dont show battery

This commit is contained in:
Marco Thomas
2023-02-02 18:15:57 +01:00
parent 06e599b805
commit 67186dc5bf
2 changed files with 2 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ exec --no-startup-id blueman-applet
# audio control # audio control
bindsym $mod+a exec --no-startup-id pavucontrol -t 1 bindsym $mod+a exec --no-startup-id pavucontrol -t 1
# jp input - fcitx-5 fcitx5-configtool fcitx5-gtk4 fcitx5-qt fcitx5-mozc # jp input - fcitx5 fcitx5-configtool fcitx5-gtk4 fcitx5-qt fcitx5-mozc
exec --no-startup-id fcitx5 exec --no-startup-id fcitx5
# keyboard and mouse # keyboard and mouse

View File

@@ -90,7 +90,6 @@ set -g status-left-length "100"
setw -g window-status-activity-style "none,fg=#93b259,bg=#f4f0d9" setw -g window-status-activity-style "none,fg=#93b259,bg=#f4f0d9"
setw -g window-status-style "none,fg=#939f91,bg=#f4f0d9" setw -g window-status-style "none,fg=#939f91,bg=#f4f0d9"
set -g status-left "" set -g status-left ""
# show battery only on laptop set -g status-right "#[fg=#939f91,bg=#f4f0d9] #H @ #S | %H:%M"
if-shell "[ `hostname` = 'itomori' ]" 'set -g status-right "#[fg=#939f91,bg=#f4f0d9] #H @ #S | #(cat /sys/class/power_supply/BAT1/capacity)% | %H:%M"' 'set -g status-right "#[fg=#939f91,bg=#f4f0d9] #H @ #S | %H:%M"'
setw -g window-status-format "#I:#W" setw -g window-status-format "#I:#W"
setw -g window-status-current-format "#[fg=#93b259,bold]#I:#W*" setw -g window-status-current-format "#[fg=#93b259,bold]#I:#W*"