Added starship (but it's a fail) and some programs

This commit is contained in:
zuma 2025-02-06 17:37:52 +01:00
parent a5c9298cda
commit bef5b0a873
4 changed files with 72 additions and 10 deletions

View file

@ -20,6 +20,8 @@
"$mod, F, fullscreen, 1"
"$mod SHIFT, F, fullscreen"
"$mod, code:65, exec, rofi -show run"
# Move to workspace
"$mod, code:10, workspace, 1"
"$mod, code:11, workspace, 2"
@ -41,6 +43,10 @@
"$mod SHIFT, code:16, movetoworkspace, 7"
"$mod SHIFT, code:17, movetoworkspace, 8"
"$mod SHIFT, code:18, movetoworkspace, 9"
# Move to adjacent workspaces
"$mod, code:113, workspace, -1"
"$mod, code:114, workspace, +1"
];
bindm = [

View file

@ -0,0 +1,34 @@
{ ... }: {
programs.starship = {
enable = true;
settings = {
format = "$username@$hostname:$directory($cmd_duration)$character";
directory = {
style = "blue";
};
character = {
success_symbol = "[](purple)";
error_symbol = "[](red)";
vimcmd_symbol = "[](green)";
};
cmd_duration = {
format = "[$duration]($style) ";
style = "yellow";
};
username = {
format = "[$user](bold white)";
};
hostname = {
ssh_only = false;
format = "[$hostname](bold red)";
disabled = false;
};
};
};
}