mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-03 20:49:30 +01:00
overlays(waybar): Dispatch selected workspace
This commit is contained in:
parent
7bda618b83
commit
e677cebc44
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
postPatch = /* bash */ ''
|
postPatch = /* bash */ ''
|
||||||
# use hyprctl to switch workspaces
|
# use hyprctl to switch workspaces
|
||||||
sed -i 's/zext_workspace_handle_v1_activate(workspace_handle_);/const std::string command = "hyprctl dispatch workspace e+1";\n\tsystem(command.c_str());/g' src/modules/wlr/workspace_manager.cpp
|
sed -i 's/zext_workspace_handle_v1_activate(workspace_handle_);/const std::string command = "hyprctl dispatch workspace " + name_;\n\tsystem(command.c_str());/g' src/modules/wlr/workspace_manager.cpp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
mesonFlags = old.mesonFlags ++ [ "-Dexperimental=true" ];
|
mesonFlags = old.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user