feat: added new configuration for enabling fish shell

This commit is contained in:
Zhongheng Liu 2024-08-10 13:17:21 +08:00
commit 8bdd51e77a
No known key found for this signature in database
7 changed files with 73 additions and 12 deletions

View file

@ -65,6 +65,33 @@
zed-editor
rhythmbox
];
programs.waybar = {
enable = true;
settings = [
{
mainBar = {
layer = "top";
position = "top";
height = 30;
output = ["eDP-1" "HDMI-A-1"];
modules-left = ["hyprland/workspaces" "hyprland/mode" "wlr/taskbar"];
modules-center = ["hyprland/window" "custom/hello-from-waybar"];
modules-right = ["mpd" "temperature"];
"hyprland/workspaces" = {
disable-scroll = true;
all-outputs = true;
};
"custom/hello-from-waybar" = {
format = "hello {}";
max-length = 40;
interval = "once";
exec = pkgs.writeShellScript "hello-from-waybar" ''echo "from within waybar"'';
};
};
}
];
};
programs.git = {
enable = true;
package = pkgs.gitFull;