feat(ags): launch apps with hyprctl instead of ags
This commit is contained in:
parent
0604985c71
commit
2e8faa7657
4 changed files with 3 additions and 4 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 { Label, Box, Icon, Button, Scrollable, Entry, EventBox } = Widget;
|
||||||
const { getWindow } = App
|
const { getWindow } = App
|
||||||
|
|
||||||
|
@ -21,7 +21,8 @@ const AppItem = (app, window) => {
|
||||||
className: 'app',
|
className: 'app',
|
||||||
connections: [['clicked', () => {
|
connections: [['clicked', () => {
|
||||||
App.closeWindow(window);
|
App.closeWindow(window);
|
||||||
app.launch();
|
Utils.exec(`hyprctl dispatch exec ${app.executable}`);
|
||||||
|
++app.frequency;
|
||||||
}]],
|
}]],
|
||||||
child: Box({
|
child: Box({
|
||||||
children: [
|
children: [
|
||||||
|
|
BIN
nixos/flake.lock
BIN
nixos/flake.lock
Binary file not shown.
BIN
nixos/flake.nix
BIN
nixos/flake.nix
Binary file not shown.
Loading…
Reference in a new issue