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,
label: `${i}`,
onClicked: () => dispatch(i),
class_name: i === hyprland.active.workspace.id ? "focused" : ""
})),
// remove this setup hook if you want fixed number of buttons

View file

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