Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Commit

Permalink
Update vasak-desktop-service use
Browse files Browse the repository at this point in the history
  • Loading branch information
Joaquin (Pato) Decima committed Oct 26, 2022
1 parent ee74eb9 commit 49fd12c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const app = createApp({
this.$win.x = 0;
this.$win.setAlwaysOnTop(true);
this.$exec('python', [
'/usr/share/vasak-desktop-service/Setters/setDock.py',
'/usr/share/vasak-desktop-service/setters/set_dock.py',
`${this.$pid.toString()}`,
Math.round(this.$screen.width),
]);
Expand All @@ -41,7 +41,7 @@ app.config.globalProperties.$win = nw.Window.get();
app.config.globalProperties.$pid = process.pid;
app.config.globalProperties.$screen = screen;
app.config.globalProperties.$getIcon = (icon) => {
return app.config.globalProperties.$execSynx('python', ['/usr/share/vasak-desktop-service/Vasak/getIcon.py', icon]).stdout.toString();
return app.config.globalProperties.$execSynx('python', ['/usr/share/vasak-desktop-service/vasak/get_icon.py', icon]).stdout.toString();
};

app.mount('#app');

0 comments on commit 49fd12c

Please sign in to comment.