Compare commits
No commits in common. "3aa3190cd3fd2085262f609a86b33a5484ee2ca9" and "683415d99709d675f32cba945b211a61ca9afe59" have entirely different histories.
3aa3190cd3
...
683415d997
2 changed files with 25 additions and 15 deletions
|
@ -126,6 +126,7 @@
|
|||
|
||||
# Custom
|
||||
"extensions.pocket.enabled" = false;
|
||||
"extensions.update.enabled" = false;
|
||||
|
||||
"privacy.globalprivacycontrol.functionality.enabled" = true;
|
||||
"privacy.globalprivacycontrol.enabled" = true;
|
||||
|
@ -149,7 +150,6 @@
|
|||
|
||||
# Themes
|
||||
"browser.compactmode.show" = true;
|
||||
"layout.css.prefers-color-scheme.content-override" = 2;
|
||||
};
|
||||
|
||||
search = {
|
||||
|
@ -273,6 +273,28 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
bypass-paywalls-clean
|
||||
cookie-quick-manager
|
||||
darkreader
|
||||
firemonkey
|
||||
libredirect
|
||||
linkding-extension
|
||||
multi-account-containers
|
||||
onepassword-password-manager
|
||||
reddit-enhancement-suite
|
||||
sponsorblock
|
||||
streetpass-for-mastodon
|
||||
substitoot
|
||||
tabliss
|
||||
tridactyl
|
||||
tubearchivist-companion
|
||||
ublock-origin
|
||||
video-downloadhelper
|
||||
|
||||
dictionary-german
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -46,22 +46,10 @@ let
|
|||
app_display=$(${yabai-bin} -m query --windows --window $YABAI_WINDOW_ID | ${jq-bin} '.display')
|
||||
[ -z "$app_display" ] && app_display=$(${yabai-bin} -m query --displays --display mouse | ${jq-bin} '.index')
|
||||
|
||||
ql_windows=$(${yabai-bin} -m query --windows --display $app_display | ${jq-bin} 'map(select(.subrole == "Quick Look")) | length')
|
||||
|
||||
if [ $app_display -eq 1 ]; then
|
||||
win_count=$(${yabai-bin} -m query --windows --display next | ${jq-bin} 'length')
|
||||
[ -z "$win_count" ] && win_count=0
|
||||
|
||||
if [ $ql_windows -eq 0 ] && [ $win_count -gt 0 ]; then
|
||||
${yabai-bin} -m display --focus next && yabai -m display --focus prev
|
||||
fi
|
||||
${yabai-bin} -m display --focus next && yabai -m display --focus prev
|
||||
else
|
||||
win_count=$(${yabai-bin} -m query --windows --display prev | ${jq-bin} 'length')
|
||||
[ -z "$win_count" ] && win_count=0
|
||||
|
||||
if [ $ql_windows -eq 0 ] && [ $win_count -gt 0 ]; then
|
||||
${yabai-bin} -m display --focus prev && yabai -m display --focus next
|
||||
fi
|
||||
${yabai-bin} -m display --focus prev && yabai -m display --focus next
|
||||
fi
|
||||
'';
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue