powerline-go improvements
This commit is contained in:
parent
92ea60bbc8
commit
f72112f332
|
@ -3,10 +3,11 @@
|
||||||
config = lib.mkIf config.programs.less.enable {
|
config = lib.mkIf config.programs.less.enable {
|
||||||
programs.powerline-go = {
|
programs.powerline-go = {
|
||||||
enable = true;
|
enable = true;
|
||||||
modules = [ "user" "host" "venv" "cwd" "perms" "git" ];
|
modules = [ "user" "host" "venv" "cwd" "perms" "nix-shell" "git" ];
|
||||||
modulesRight = [ "jobs" "exit" "duration" "load" ];
|
modulesRight = [ "jobs" "exit" "duration" "load" ];
|
||||||
settings = {
|
settings = {
|
||||||
colorize-hostname = true;
|
colorize-hostname = true;
|
||||||
|
hostname-only-if-ssh = true;
|
||||||
max-width = 25;
|
max-width = 25;
|
||||||
cwd-max-dir-size = 10;
|
cwd-max-dir-size = 10;
|
||||||
duration = "$( test -n \"$__TIMER\" && echo $(( $EPOCHREALTIME - $\{__TIMER:-EPOCHREALTIME})) || echo 0 )";
|
duration = "$( test -n \"$__TIMER\" && echo $(( $EPOCHREALTIME - $\{__TIMER:-EPOCHREALTIME})) || echo 0 )";
|
||||||
|
@ -19,3 +20,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
# TODO Replace load with a frobar indicator
|
||||||
|
|
Loading…
Reference in a new issue