Firefox: make the microphone popup less annoying
This commit is contained in:
parent
7e799e7836
commit
68ac815a23
@ -38,11 +38,8 @@ in {
|
|||||||
{ app_id = "firefox"; }
|
{ app_id = "firefox"; }
|
||||||
{ class = "Firefox"; }
|
{ class = "Firefox"; }
|
||||||
];
|
];
|
||||||
"" = [
|
"" =
|
||||||
{ app_id = "geary"; }
|
[ { app_id = "geary"; } { title = "nheko"; } { title = "Slack.*"; } ];
|
||||||
{ title = "nheko"; }
|
|
||||||
{ title = "Slack.*"; }
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
fonts = {
|
fonts = {
|
||||||
names = [ config.themes.fonts.main.family ];
|
names = [ config.themes.fonts.main.family ];
|
||||||
@ -92,15 +89,26 @@ in {
|
|||||||
command = "sticky enable";
|
command = "sticky enable";
|
||||||
criteria = { floating = ""; };
|
criteria = { floating = ""; };
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
criteria = { title = "Firefox — Sharing Indicator"; };
|
||||||
|
command = "floating enable";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = { title = "Firefox — Sharing Indicator"; };
|
||||||
|
command = "no_focus";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
startup = (map (command: { inherit command; }) config.startupApplications) ++ [
|
startup = (map (command: { inherit command; }) config.startupApplications)
|
||||||
{ command = toString (pkgs.writeShellScript "slack" ''
|
++ [
|
||||||
|
{
|
||||||
|
command = toString (pkgs.writeShellScript "slack" ''
|
||||||
firefox https://tweag.slack.com &
|
firefox https://tweag.slack.com &
|
||||||
sleep 10
|
sleep 10
|
||||||
swaymsg '[title=Slack.*] move to workspace '
|
swaymsg '[title=Slack.*] move to workspace '
|
||||||
swaymsg '[title=Slack.*] fullscreen disable'
|
swaymsg '[title=Slack.*] fullscreen disable'
|
||||||
''); }
|
'');
|
||||||
|
}
|
||||||
{
|
{
|
||||||
command =
|
command =
|
||||||
"swayidle -w before-sleep '${lock_fork}' lock '${lock_fork}' unlock 'pkill -9 swaylock'";
|
"swayidle -w before-sleep '${lock_fork}' lock '${lock_fork}' unlock 'pkill -9 swaylock'";
|
||||||
@ -113,7 +121,8 @@ in {
|
|||||||
++ [ [ "c" "" ] [ "t" "" ] [ "m" "ﱘ" ] ];
|
++ [ [ "c" "" ] [ "t" "" ] [ "m" "ﱘ" ] ];
|
||||||
in ({
|
in ({
|
||||||
"${modifier}+q" = "kill";
|
"${modifier}+q" = "kill";
|
||||||
"${modifier}+Shift+q" = "move container to workspace temp; [workspace=__focused__] kill; workspace temp; move container to workspace temp; workspace temp";
|
"${modifier}+Shift+q" =
|
||||||
|
"move container to workspace temp; [workspace=__focused__] kill; workspace temp; move container to workspace temp; workspace temp";
|
||||||
"${modifier}+Return" = "exec ${apps.term.cmd}";
|
"${modifier}+Return" = "exec ${apps.term.cmd}";
|
||||||
"${modifier}+e" = "exec ${apps.editor.cmd}";
|
"${modifier}+e" = "exec ${apps.editor.cmd}";
|
||||||
"${modifier}+o" = "layout toggle all";
|
"${modifier}+o" = "layout toggle all";
|
||||||
|
Loading…
Reference in New Issue
Block a user