Many changes
This commit is contained in:
26
modules/waybar/config.json
Normal file
26
modules/waybar/config.json
Normal file
@@ -0,0 +1,26 @@
|
||||
[
|
||||
{
|
||||
"height": 1080,
|
||||
"hyprland/workspaces": {
|
||||
"active-only": false,
|
||||
"format": "{name}"
|
||||
},
|
||||
"layer": "top",
|
||||
"modules-center": [],
|
||||
"modules-left": [
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"wireplumber"
|
||||
],
|
||||
"output": [
|
||||
"eDP-1"
|
||||
],
|
||||
"position": "left",
|
||||
"width": 30,
|
||||
"wireplumber": {
|
||||
"scroll-step": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
51
modules/waybar/home.nix
Normal file
51
modules/waybar/home.nix
Normal file
@@ -0,0 +1,51 @@
|
||||
{ ... }: {
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
position = "left";
|
||||
|
||||
height = 1080;
|
||||
width = 30;
|
||||
|
||||
|
||||
output = [
|
||||
"eDP-1"
|
||||
];
|
||||
|
||||
modules-left = [ "hyprland/workspaces" ];
|
||||
modules-right = [ "hyprland/submap" "tray" "wireplumber" ];
|
||||
|
||||
"hyprland/workspaces" = {
|
||||
active-only = false;
|
||||
format = "<b>{name}</b>\n{windows}";
|
||||
format-window-separator = "\n";
|
||||
persistent-workspaces."*" = 5;
|
||||
};
|
||||
|
||||
"hyprland/window" = {
|
||||
format= "{title}";
|
||||
separate-outputs = true;
|
||||
};
|
||||
|
||||
"hyprland/submap" = {
|
||||
max-length = 8;
|
||||
format = "lol {}";
|
||||
tooltip = true;
|
||||
};
|
||||
|
||||
"tray" = {
|
||||
spacing = 10;
|
||||
icon-size = 20;
|
||||
};
|
||||
|
||||
"wireplumber" = {
|
||||
scroll-step = 5;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user