feat: improve AGS JavaScript definition files

This commit is contained in:
Zhongheng Liu 2024-08-22 17:07:24 +08:00
commit 9ac744a8ce
No known key found for this signature in database
2 changed files with 19 additions and 17 deletions

View file

@ -27,6 +27,8 @@ const Workspaces = () => Widget.EventBox({
attribute: i, attribute: i,
label: `${i}`, label: `${i}`,
onClicked: () => dispatch(i), onClicked: () => dispatch(i),
class_name: i === hyprland.active.workspace.id ? "focused" : ""
})), })),
// remove this setup hook if you want fixed number of buttons // remove this setup hook if you want fixed number of buttons

View file

@ -12,7 +12,7 @@
home.packages = with pkgs; [ags]; home.packages = with pkgs; [ags];
myAutostartCommands = [ myAutostartCommands = [
#"${pkgs.ags}/bin/ags --init" #"${pkgs.ags}/bin/ags --init"
#"${pkgs.ags}/bin/ags" "${pkgs.ags}/bin/ags"
]; ];
}; };
} }