Skip to content

Commit

Permalink
linter fuck off
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Apr 28, 2024
1 parent bbef828 commit 2011b63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/service/hyprland.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ export class Hyprland extends Service {
// this._syncWorkspaces();
// this._syncClients();

let socketPath = GLib.file_test(`${XDG_RUNTIME_DIR}/hypr/${HIS}/.socket2.sock`, GLib.FileTest.EXISTS) ? `${XDG_RUNTIME_DIR}/hypr/${HIS}/.socket2.sock` : `/tmp/hypr/${HIS}/.socket2.sock`;
const socketPath = GLib.file_test(`${XDG_RUNTIME_DIR}/hypr/${HIS}/.socket2.sock`, GLib.FileTest.EXISTS) ?

Check failure on line 144 in src/service/hyprland.ts

View workflow job for this annotation

GitHub Actions / lint

This line has a length of 113. Maximum allowed is 100
`${XDG_RUNTIME_DIR}/hypr/${HIS}/.socket2.sock` : `/tmp/hypr/${HIS}/.socket2.sock`;

Check failure on line 145 in src/service/hyprland.ts

View workflow job for this annotation

GitHub Actions / lint

This line has a length of 114. Maximum allowed is 100

Check failure on line 145 in src/service/hyprland.ts

View workflow job for this annotation

GitHub Actions / lint

Expected indentation of 12 spaces but found 32

this._watchSocket(new Gio.DataInputStream({
close_base_stream: true,
Expand Down Expand Up @@ -171,7 +172,8 @@ export class Hyprland extends Service {
};

private _socketStream(cmd: string) {
let socketPath = GLib.file_test(`${XDG_RUNTIME_DIR}/hypr/${HIS}/.socket.sock`, GLib.FileTest.EXISTS) ? `${XDG_RUNTIME_DIR}/hypr/${HIS}/.socket.sock` : `/tmp/hypr/${HIS}/.socket.sock`;
const socketPath = GLib.file_test(`${XDG_RUNTIME_DIR}/hypr/${HIS}/.socket.sock`, GLib.FileTest.EXISTS) ?

Check failure on line 175 in src/service/hyprland.ts

View workflow job for this annotation

GitHub Actions / lint

This line has a length of 112. Maximum allowed is 100
`${XDG_RUNTIME_DIR}/hypr/${HIS}/.socket.sock` : `/tmp/hypr/${HIS}/.socket.sock`;

Check failure on line 176 in src/service/hyprland.ts

View workflow job for this annotation

GitHub Actions / lint

This line has a length of 112. Maximum allowed is 100

Check failure on line 176 in src/service/hyprland.ts

View workflow job for this annotation

GitHub Actions / lint

Expected indentation of 12 spaces but found 32
const connection = socket(socketPath);

connection
Expand Down

0 comments on commit 2011b63

Please sign in to comment.