Skip to content

Commit b6e41d5

Browse files
committed
Omit timestamp in window title
When option -w is used the one-liner status is shown in the window title. Prior to this change it was shown with the timestamp prefix which could use all the viewable title text in a window thumbnail. Suggested-by: Bryan Kirk Closes #5
1 parent f13d573 commit b6e41d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

battstatus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,7 @@ int main(int argc, char *argv[])
16151615
/* The status has changed enough to show the one-liner output. */
16161616

16171617
stringstream line;
1618-
line << TIMESTAMPED_PREFIX;
1618+
cout << TIMESTAMPED_PREFIX;
16191619
// Show the status in the same formats that the battery systray uses
16201620
if(NO_BATTERY(status)) {
16211621
// eg: No battery is detected

0 commit comments

Comments
 (0)