feat(ags): launch apps with hyprctl instead of ags

This commit is contained in:
matt1432 2023-10-12 01:01:38 -04:00
parent 0604985c71
commit 2e8faa7657
4 changed files with 3 additions and 4 deletions

View file

@ -1,2 +0,0 @@
On fullscreen, make bar disappear (opacity 0)
Click to reappear

View file

@ -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: [

Binary file not shown.

Binary file not shown.