mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Fixes workspaces in waybar kinda?
This commit is contained in:
parent
9597c92f27
commit
cb44186bb1
|
@ -25,6 +25,7 @@
|
|||
xwayland = {
|
||||
enable = true;
|
||||
};
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -364,7 +364,6 @@
|
|||
# use hyprctl to switch workspaces
|
||||
sed -i 's/zext_workspace_handle_v1_activate(workspace_handle_);/const std::string command = "hyprworkspace " + name_;\n\tsystem(command.c_str());/g' src/modules/wlr/workspace_manager.cpp
|
||||
'';
|
||||
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||
});
|
||||
settings = {
|
||||
mainBar = {
|
||||
|
@ -376,7 +375,7 @@
|
|||
spacing = 2;
|
||||
|
||||
modules-left = [ "custom/os" "battery" "backlight" "pulseaudio" "cpu" "memory" ];
|
||||
modules-center = [ "wlr/workspaces" ];
|
||||
modules-center = [ "hyprland/workspaces" ];
|
||||
modules-right = [ "idle_inhibitor" "tray" "clock" ];
|
||||
|
||||
"custom/os" = {
|
||||
|
@ -384,7 +383,7 @@
|
|||
"exec" = ''echo "" '';
|
||||
"interval" = "once";
|
||||
};
|
||||
"wlr/workspaces" = {
|
||||
"hyprland/workspaces" = {
|
||||
"format" = "{icon}";
|
||||
"format-icons" = {
|
||||
"1" = "notes¹";
|
||||
|
|
Loading…
Reference in a new issue