Compare commits
No commits in common. "76d827e9eb54ad3b0a43b167bd5ee745cb4a93b1" and "03335422096004d168b1c30e8a7c9b11fe613742" have entirely different histories.
76d827e9eb
...
0333542209
2 changed files with 2 additions and 12 deletions
|
@ -28,6 +28,7 @@ const Client = (client, active, clients) => {
|
||||||
const wsId = client.workspace.id;
|
const wsId = client.workspace.id;
|
||||||
const addr = `address:${client.address}`;
|
const addr = `address:${client.address}`;
|
||||||
|
|
||||||
|
// FIXME: special workspaces not closing when in one and clicking on normal client
|
||||||
return Revealer({
|
return Revealer({
|
||||||
transition: 'crossfade',
|
transition: 'crossfade',
|
||||||
setup: rev => rev.revealChild = true,
|
setup: rev => rev.revealChild = true,
|
||||||
|
@ -65,10 +66,9 @@ const Client = (client, active, clients) => {
|
||||||
// close special workspace if one is opened
|
// close special workspace if one is opened
|
||||||
const activeAddress = Hyprland.active.client.address;
|
const activeAddress = Hyprland.active.client.address;
|
||||||
const currentActive = clients.find(c => c.address === activeAddress);
|
const currentActive = clients.find(c => c.address === activeAddress);
|
||||||
const currentSpecial = String(currentActive.workspace.name).replace('special:', '');
|
|
||||||
|
|
||||||
if (currentActive && currentActive.workspace.id < 0) {
|
if (currentActive && currentActive.workspace.id < 0) {
|
||||||
execAsync(`hyprctl dispatch togglespecialworkspace ${currentSpecial}`)
|
execAsync(`hyprctl dispatch togglespecialworkspace ${wsName}`)
|
||||||
.catch(print);
|
.catch(print);
|
||||||
}
|
}
|
||||||
execAsync(`hyprctl dispatch focuswindow ${addr}`).then(
|
execAsync(`hyprctl dispatch focuswindow ${addr}`).then(
|
||||||
|
|
|
@ -105,15 +105,6 @@ in
|
||||||
definedAliases = [ "@mn" ];
|
definedAliases = [ "@mn" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
"Noogle" = {
|
|
||||||
urls = [{ template =
|
|
||||||
"https://noogle.dev/?term={searchTerms}";
|
|
||||||
}];
|
|
||||||
iconUpdateURL = "https://noogle.dev/favicon.ico";
|
|
||||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
|
||||||
definedAliases = [ "@ng" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
"Firefox Add-ons" = {
|
"Firefox Add-ons" = {
|
||||||
urls = [{ template =
|
urls = [{ template =
|
||||||
"https://addons.mozilla.org/en-US/firefox/search/?q={searchTerms}";
|
"https://addons.mozilla.org/en-US/firefox/search/?q={searchTerms}";
|
||||||
|
@ -150,7 +141,6 @@ in
|
||||||
"MyNixos"
|
"MyNixos"
|
||||||
"NixOS Wiki"
|
"NixOS Wiki"
|
||||||
"Nix Packages"
|
"Nix Packages"
|
||||||
"Noogle"
|
|
||||||
"Wikipedia (en)"
|
"Wikipedia (en)"
|
||||||
"YouTube"
|
"YouTube"
|
||||||
"Firefox Add-ons"
|
"Firefox Add-ons"
|
||||||
|
|
Loading…
Reference in a new issue