feat(ags): launch apps with hyprctl instead of ags
This commit is contained in:
parent
0604985c71
commit
2e8faa7657
4 changed files with 13 additions and 17 deletions
|
@ -1,2 +0,0 @@
|
|||
On fullscreen, make bar disappear (opacity 0)
|
||||
Click to reappear
|
|
@ -1,4 +1,4 @@
|
|||
import { App, Applications, Widget } from '../../imports.js';
|
||||
import { App, Applications, Utils, Widget } from '../../imports.js';
|
||||
const { Label, Box, Icon, Button, Scrollable, Entry, EventBox } = Widget;
|
||||
const { getWindow } = App
|
||||
|
||||
|
@ -21,7 +21,8 @@ const AppItem = (app, window) => {
|
|||
className: 'app',
|
||||
connections: [['clicked', () => {
|
||||
App.closeWindow(window);
|
||||
app.launch();
|
||||
Utils.exec(`hyprctl dispatch exec ${app.executable}`);
|
||||
++app.frequency;
|
||||
}]],
|
||||
child: Box({
|
||||
children: [
|
||||
|
|
21
nixos/flake.lock
generated
21
nixos/flake.lock
generated
|
@ -7,17 +7,14 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1696980982,
|
||||
"narHash": "sha256-8hXv02iTueoqWgS5aRi2p+jDgXxqPtp4S2hjYQsPCvw=",
|
||||
"owner": "Aylur",
|
||||
"repo": "ags",
|
||||
"rev": "70b8966b2cd3a834d52a1062b1d2cc6a26e9c5ca",
|
||||
"type": "github"
|
||||
"lastModified": 1697084795,
|
||||
"narHash": "sha256-LtX5RryB60j6vfSiX54rcGdaQVU5oH9JJc65ZtuizmU=",
|
||||
"path": "/home/matt/git/ags",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Aylur",
|
||||
"repo": "ags",
|
||||
"type": "github"
|
||||
"path": "/home/matt/git/ags",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
|
@ -530,11 +527,11 @@
|
|||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1697069045,
|
||||
"narHash": "sha256-80cy1s92pYIhD4FLaSAxLEgVcBo3gcX70GCm0Z7no9U=",
|
||||
"lastModified": 1697083502,
|
||||
"narHash": "sha256-WzXsFXmQJN/noHZPuSw+Yl3KeKOpKbH74iIzqKyiXWg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "b5f2b4924ed6f505b95c71acd1180475d12396fd",
|
||||
"rev": "6f5c921ddcc818b1e24a117721c58d0d5037e8b6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
};
|
||||
|
||||
ags = {
|
||||
url = "github:Aylur/ags";
|
||||
url = "path:/home/matt/git/ags";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue