Skip to content

Commit

Permalink
Use ISO8601 date in /etc/grml/screenrc [Closes: issue1283]
Browse files Browse the repository at this point in the history
Thanks: Andras Korn for the suggestion
  • Loading branch information
mika committed Oct 21, 2013
1 parent 69d4655 commit 931ce01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions etc/grml/screenrc
Expand Up @@ -7,11 +7,11 @@

backtick 1 0 60 /usr/bin/cpu-screen
backtick 2 0 60 /usr/bin/ip-screen
caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}net: %2`) %-21=%{wk}%D %d.%m.%Y %0c"
caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}net: %2`) %-21=%{wk}%D %Y-%m-%d %0c"
hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"

# switch order of caption and hardstatus:
# hardstatus alwayslastline "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}net: %2`) %-21=%{kw}%D %d.%m.%Y %0c"
# hardstatus alwayslastline "%{+b kr}$USER@%{kw}%H | %{ky}(load: %l |%{kr} cpu: %1` | %{kG}net: %2`) %-21=%{kw}%D %Y-%m-%d %0c"
# caption always "%{rw}%n%f %t %{wk} | %?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%? %{wk}"

# detach on hangup
Expand Down
4 changes: 2 additions & 2 deletions etc/grml/screenrc_acpi
Expand Up @@ -7,11 +7,11 @@

backtick 1 60 60 /usr/bin/cpu-screen
backtick 2 60 60 /usr/bin/yacpi -p
caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}acpi: %2`) %-21=%{wk}%D %d.%m.%Y %0c"
caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}acpi: %2`) %-21=%{wk}%D %Y-%m-%d %0c"
hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"

# switch order of caption and hardstatus:
# hardstatus alwayslastline "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}acpi: %2`) %-21=%{wk}%D %d.%m.%Y %0c"
# hardstatus alwayslastline "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}acpi: %2`) %-21=%{wk}%D %Y-%m-%d %0c"
# caption always "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"

# detach on hangup
Expand Down
4 changes: 2 additions & 2 deletions etc/grml/screenrc_generic
Expand Up @@ -5,11 +5,11 @@
# License: This file is licensed under the GPL v2.
################################################################################

caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l) %-21=%{wk}%D %d.%m.%Y %0c"
caption always "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l) %-21=%{wk}%D %Y-%m-%d %0c"
hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"

# switch order of caption and hardstatus:
# hardstatus alwayslastline "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}net: %2`) %-21=%{wk}%D %d.%m.%Y %0c"
# hardstatus alwayslastline "%{+b rk}$USER@%{wk}%H | %{yk}(load: %l |%{rk} cpu: %1` | %{Gk}net: %2`) %-21=%{wk}%D %Y-%m-%d %0c"
# caption always "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"

# detach on hangup
Expand Down

0 comments on commit 931ce01

Please sign in to comment.