diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-20 19:04:47 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-20 19:04:47 +0200 |
| commit | b882df090f6223940b118c2369e19d1b8a0721a4 (patch) | |
| tree | ac16620f12be84dc15025b6defe797ef5cc81f10 /scripts/focus_firefox.js | |
| parent | 621e6f4bf444bad28002b6dece3971e0d9a5b5d3 (diff) | |
Fixed LSP issue by enabling dynamic linking, and removed unused scripts
Diffstat (limited to 'scripts/focus_firefox.js')
| -rw-r--r-- | scripts/focus_firefox.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/focus_firefox.js b/scripts/focus_firefox.js deleted file mode 100644 index 9d8c09b..0000000 --- a/scripts/focus_firefox.js +++ /dev/null @@ -1,13 +0,0 @@ -var appName = "firefox"; - -// Search for a Firefox window -var client = workspace.clientList().find(c => c.resourceName === appName); - -if (client) { - // Focus the window - workspace.activeClient = client; -} else { - // Start Firefox if not running - workspace.launch("firefox"); -} - |
