commit ceb3d65bcd70a0c7bf055033bd1c61adea5f0475
parent 79a7f44e2bd6c432013563a0594cf698c672a0a7
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 29 Sep 2015 18:21:38 +0200
fix argument to awk
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -95,7 +95,7 @@ set -g status-left-length 40
set -g status-left "#[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P"
#set -g status-right "#[fg=cyan]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/Full, //; s/remaining//; s/ , //; s/Charging, /+/; s/ until charged/ /; s/, / /; s/Unknown //; s/ $//;') #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R"
#set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R"
-set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(uptime|awk '{print $NF;}') #[fg=green]%d %b %R"
+set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(uptime|awk '{print \$NF;}') #[fg=green]%d %b %R"
set -g status-justify centre
#set -g status-bg default
#set -g status-fg cyan